Welcome to the MyCamp API documentation! This API allows you to manage bootcamps, courses, user authentication, users, and reviews for educational purposes.
/api/v1/bootcamps: Get all bootcamps./api/v1/bootcamps/:id: Get a single bootcamp by ID./api/v1/bootcamps: Create a new bootcamp./api/v1/bootcamps/:id: Update a bootcamp./api/v1/bootcamps/:id: Delete a bootcamp./api/v1/bootcamps/radius/:zipcode/:distance: Get bootcamps within a certain radius./api/v1/courses: Get all courses./api/v1/courses/:id: Get a single course by ID./api/v1/bootcamps/:bootcampId/courses: Create a course for a specific bootcamp./api/v1/courses/:id: Update a course./api/v1/courses/:id: Delete a course./api/v1/auth/register: Register a new user./api/v1/auth/login: Login a user./api/v1/auth/me: Get logged-in userโs details./api/v1/auth/forgotpassword: Request to reset password./api/v1/auth/resetpassword/:resetToken: Reset userโs password./api/v1/auth/updatedetails: Update userโs details./api/v1/auth/updatepassword: Update userโs password./api/v1/auth/logout: Logout user./api/v1/users: Get all users./api/v1/users/:id: Get a single user by ID./api/v1/users: Create a new user./api/v1/users/:id: Update a user./api/v1/users/:id: Delete a user./api/v1/reviews: Get all reviews./api/v1/reviews/:id: Get a single review by ID./api/v1/bootcamps/:bootcampId/reviews: Get reviews for a specific bootcamp./api/v1/bootcamps/:bootcampId/reviews: Add a review for a bootcamp./api/v1/reviews/:id: Update a review./api/v1/reviews/:id: Delete a review.npm install.npm run dev.Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to create a pull request or open an issue.
Feel free to explore and interact with the MyCamp API using the provided routes. If you have any questions, feel free to reach out! Happy coding! ๐