CourseCove is an open-source Node.js Express API project designed to provide a robust and scalable backend solution for managing courses, users, authentication, and reviews. It utilizes MongoDB as the database system for storing and retrieving data.
Note: Replace {{URL}} with https://coursecove.onrender.com to use the API
Bootcamps CRED fuctionality
get all bootcamps from database. Includes pagination, collections
etc
get a single bootcamp using bootcamp id
Key | Value | Description |
---|---|---|
Content-Type | application/json |
json type |
Authorization | Bearer Your Token will come here |
Update a single bootcamp by bootcamp id
Key | Value | Description |
---|---|---|
Content-Type | application/json |
json type |
Delete a single bootcamp by id
upload a image file for a bootcamp with id
Key | Value | Description |
---|---|---|
Content-Type | application/json |
json type |
Key | Value | Description |
---|---|---|
file |
Create, read, update and delete courses
get all courses from database
get all courses for a specific bootcamp
get a single course via courseId
Add a course with bootcamp id
Key | Value | Description |
---|---|---|
Content-Type | application/json |
json type |
Update a course by id
Key | Value | Description |
---|---|---|
Content-Type | application/json |
json type |
Delete a course by id
routes for authentication including register, login , reset password etc.
Login user via email and password
get logged in user if token validation true
Key | Value | Description |
---|---|---|
Authorization | Bearer Your Token will come here |
Forgot password route to create a reset token.
reset password using token
update user name and email using put request
Key | Value | Description |
---|---|---|
Authorization | Bearer Your Token will come here |
update user password using current password and new password
Key | Value | Description |
---|---|---|
Authorization | Bearer Your Token will come here |
admin CRUD fuctions of geting users, adding users, updating users, deleting users
get a single user by userid
update a user’s details via user id
delete a user by user id
create a user by passing required fields in body
manange course reviews
Get all reviews or get reviews for a specific bootcamp
Get a review for a specific bootcamp
Get a single review by id
Create review for a speccific bootcamp
Delete a review by id
update a reivew by id
log out user or clear cookie