This is a java app that enables a user create a hero and a squad and also the user can add a hero to a squad
- Atemba Emmanuel
Clone this repository to your local machine to get Started
Github: https://github.com/atembamanu/Hero-squad-.git
You need the following installed on your machine
- java
- JDK - Java Development Kit
- Maven
- Gradle
- An IDE - Intellij
To confirm run the following command on linux
$ java --version //java version
$ mvn --version //maven version
$ gradle --version //gradle version
After cloning to your local machine navigate to the folder you cloned into and open it with intellij.
- Navigate into the
src/main/java/App.java
and click run in intellij. - Go to your browser and type
localhost:4567
Create a test class for running tests in the application.
This is a sample test that tests if the getter method works
@Test
public void newHero_getName_String(){
hero testHero = Hero.setUpNewHero();
assertEquals("Atemba", testHero.getName());
}
- Java - The language used
- Intellij Idea - Intergated development
- Spark - Framework
If you want to put out a pull request you first have to send us the sample code that you want to add to our repository for cross-checking before we allow the pull.
We use Github for versioning. This is the first version of this application
This project is licensed under the MIT License - see the LICENSE file for details
- Hat tip to
Stackoverflow