This repository contains the backend API for the Progress Exercise and Rehab Log App, a platform for tracking and logging rehabilitation exercises.
Click here to go to the frontend. https://github.com/isaiahasanchez/react-progress-app-frontend
- User authentication and session management
- CRUD operations for exercises (Create, Read, Update, Delete)
- Secure MongoDB storage
- Error handling and validations
- Node.js
- Express.js
- MongoDB with Mongoose
- Passport.js for authentication
- CORS for cross-origin handling
- Node.js
- MongoDB URI
- Clone this repository:
git clone https://github.com/isaiahasanchez/react-progress-app-backend.git
- Navigate to the project directory
cd your-repo-name
- Install Dependencies:
npm install
- Create a .env file in the root directory and set up your environment variables:
MONGO_URI=your_mongodb_uri SESSION_KEY=your_session_key
- Start the server
npm start
- /exercises: Fetch all exercises
- /exercises/:id: Interact with a specific exercise (get, update, delete)
- /login: Authenticate a user
- /register: Register a new user
- /logout: Log out an authenticated user
This project is licensed under the MIT License.