Welcome to the Bootcamp and Online Courses API! This API serves as the backend for a web application that helps users discover and explore various bootcamps and online courses. Whether you are a student looking to enhance your skills or a professional seeking to upskill, this API provides a centralized platform for accessing information about relevant programs.
- Node.js
- MongoDB (or a MongoDB Atlas account)
- Clone the repository:
git clone https://github.com/yourusername/bootcamp-api.git
- Navigate to the project directory:
cd bootcamp-api
- Install dependencies:
npm install
- Set up a
.env
file with your MongoDB connection string and any other required variables. - Start the server:
npm start
- The API will be accessible at
http://localhost:3000
.
- Endpoint:
/api/bootcamps
- Method:
GET
- Description: Get a list of all available bootcamps.
- Endpoint:
/api/bootcamps/:id
- Method:
GET
- Description: Get details of a specific bootcamp by ID.
- Endpoint:
/api/bootcamps/search
- Method:
GET
- Description: Search for bootcamps based on various criteria such as location, rating, and more.
- Endpoint:
/api/courses
- Method:
GET
- Description: Get a list of all available online courses.
- Endpoint:
/api/courses/:id
- Method:
GET
- Description: Get details of a specific online course by ID.
- Endpoint:
/api/courses/search
- Method:
GET
- Description: Search for online courses based on various criteria such as topic, duration, and more.
To access certain endpoints, authentication is required. Include the authentication token in the request headers.
The API returns standard HTTP status codes for success and error responses. Details of errors are included in the response body.
Please note that this API is under active development, and certain features, endpoints, or functionality may be subject to change in future releases. Keep an eye on our updates for the latest improvements.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, feel free to create an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.