A microservice architecture application that helps you track your activities and meals. You can track your calorie intake and calories burnt during each activity. It also gives nutrional information about the food you tracked.
- Clone the repository to local.
- Paste username, password to a text file. (Refer to sample files in /creds).
- Paste nutritionix api key, id in another text file. (Refer to sample files in /creds).
- Update absolute path of these files in application.properties of both the services.
- Spin up the database.
- Run Exercise logger microservice (Will run on port 8081).
.\mvnw clean install
.\mvnw spring-boot:run
- Run FoodLogger using the same commands (Will run on port 8080).
- For API endpoint documentation, refer to Swagger UI.
To run the unit tests and integration tests after making changes, run
.\mvnw test