A Microservice Application which is used to track the users tasks/exercises.
- It Consists of Several api endpoints which is used to make the following requests:
- POST REQUEST - /api/users - creating the new user
- GET REQUEST - /api/users - to get all the users
- POST REQUEST - /api/users/:_id/exercises - to create the users exercises
- GET REQUEST - /api/users/:_id/logs - all the exercises that belong to a specifc user
- You'll get the responses in the json format.
- There will be two models : exercises schema(which consists of information about exercises) and user schema(users info)
-
Tools and Technologies :
- NodeJS
- ExpresJS
- MongoDB
-
Clone the repository
-
Install the dependencies
npm install
-
Replace the MONGOURI with your mongodb connection string in .env file
-
Start the server
npm run start