Backend API for the DevCamper application to manage bootcamps, courses, reviews, and users.
The documentation has been split into several files for better organization:
- Setup and Configuration: Instructions on how to install, configure, and run the project.
- API Reference: Detailed documentation of all API endpoints, including request/response examples.
- Project Structure: Explanation of the codebase organization and key directories.
- Bootcamps: Create, read, update, and delete bootcamps.
- Courses: Manage courses associated with bootcamps.
- Reviews: Users can review bootcamps.
- Users & Authentication:
- JWT/Cookie based authentication.
- User roles (User, Publisher, Admin).
- Password reset and update profile.
- Geocoding: Calculate location and radius for bootcamps.
- File Upload: Upload photos for bootcamps.
- Security:
- Password encryption.
- Rate limiting.
- NoSQL injection protection.
- XSS protection.
- HPP protection.
- CORS enabled.
- Clone the repo.
- Install dependencies:
npm install. - Set up
config/config.env(see Setup Guide). - Run dev server:
npm run dev.
ISC