This repository contains the code for the backend application for the Frontend Repository
Backend Application is a RESTful API developed using Node.js and Express.js. It uses MongoDB as the database and Mongoose as the ODM (Object Data Modeling).
Workout Log Application
-
User Registration
-
User Login
-
Workout Log
-
Logout
POST /api/users
- Create a new userPOST /api/users/login
- Login user
POST /api/users/logout
- Logout userGET /api/users/me
- Get current userPUT /api/users/me
- Update current userDELETE /api/users/me
- Delete current user
GET /api/users
- Get all usersGET /api/users/:id
- Get user by IDPUT /api/users/:id
- Update user by IDDELETE /api/users/:id
- Delete user by ID