Getting started - UnosquareBelfast/AdminCore GitHub Wiki
Postgres
- download and install postgres admin tool https://www.pgadmin.org/download/.
- configure user with username 'postgres' and password 'Pass.word1'.
- Create database called 'HrManager' in postgres admin tool.
Running Code
- Clone code.
- Download and install postman https://www.getpostman.com/apps
- Download and install docker https://store.docker.com/search?type=edition&offering=community
- Download maven https://maven.apache.org/download.cgi?Preferred=ftp%3A%2F%2Fmirror.reverse.net%2Fpub%2Fapache%2F
- Follow maven installation steps https://maven.apache.org/install.html
- Open command prompt and CD into your project directory: Run command mvn flyway:baseline then run command mvn flyway:migrate. Check your postgres database and ensure that flyway successfully configured your database.
- Deploy code. This can either be done using spring-boot run command or by following steps in the 'docker read me.txt'.
- When code is deployed you can view the API documentation by calling the URL http://localhost:8081/swagger-ui.html.
- Due to authentication setup only the authentication controller calls can be executed in swagger UI.
- To test other controllers install postman and use swaggerUi as a reference to know what paramters have to be passed in
- Use JWT token generated as a header when making API calls in postman http://localhost:8081/swagger-ui.html#!/authentication-controller/authenticateUserUsingPOST.
Kanban board
https://trello.com/b/aHOBMsKG/unosquare-belfast-leave-system