The application uses H2 in memory database
- Maven install
./mvnw clean install
- Run Application
./mvnw spring-boot:run
Make a post request to
/api/v1/auth/login
Request Body
{
"username": "admin1",
"password": "password1"
}
Login with username: "admin1" password: "password1" to get an access token.
And then pass the token to header "app-auth" on employees endpoints
- Using Maven
./mvnw test
- And You can run the unit tests and integration test using your IDE.