For building and running the application you need:
- Clone this repo into your computer
- Create a MySQL database "food-vendor-app
- Open project directory in a terminal
- Run the command (for Windows users) mvnw spring-boot:run (for MacOS/Linux users) ./mvnw spring-boot:run
- Application is started on http://localhost:8080
- If port 8080 is already used by another application in your computer, open the application.properties file and change port with 'server.port=8181'
The application is hosted on https://john-foodvendorapp.herokuapp.com/
At login, a token is generated that must be used in every other subsequent request. In the Headers tab on postman, add key of Authorization and value of Bearer {token}.