Skip to content

Hero Squad is a java application cretae to enable users create a squad and hero and add heroes to a specific squad according to power and their power source

License

Notifications You must be signed in to change notification settings

Guyoguyes/Hero-Squad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hero-Squad

AUTHOR

Guyoguyes

DESCRIPTION

Hero Squad is a java application cretae to enable users create a squad and hero and add heroes to a specific squad according to power and their power source

Heroes have both strength and weakness

TECHNOLOGY USED

Java Junit Spark Gradle Maven Postgres

SETUP INSTRUCTION

Clone the project from the repo 'https://github.com/Guyoguyes/Hero-Squad.git'

Navigate to the project path

Open the directory on your IDE

NB: Make sure your IDE supports java and you have java installed in your computer

Build the project and Run the App class file

Navigate to localhost:4567 in a browser

DATABASE SETUP

Install Postgresql in your computer

Open terminal and type psql to access postgres shell

In psql

CREATE DATABASE herosquad; \c herosquad; CREATE TABLE heroes (id serial PRIMARY KEY, name VARCHAR, superpower VARCHAR, weakness VARCHAR); CREATE TABLE squad(id serial PRIMARY KEY, name VACHAR)

change the postgres url in app file to your localhost

BUGS

none

##CONTRIBUTION

email for contribution [email protected]

COPYRIGHT AND LICENSE

MIT LICENSE

About

Hero Squad is a java application cretae to enable users create a squad and hero and add heroes to a specific squad according to power and their power source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published