Backend API for the DevMaga application to manage bootcamps, courses, reviews, users and authentication. This API has been made following a Udemy Course.
Some of the actions you can perform are: get all bootcamps, single bootcamp, create a new bootcamp, update an existing bootcamp or delete an existing bootcamp.
Get details of all bootcamps.
Get details of a single bootcamp.
Get details of bootcamps within a radius and a postal code.
Create a new bootcamp. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Update an existing bootcamp. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Delete an existing bootcamp. You must be authorized.
Upload a photo for an existing bootcamp. You must be authorized.
| Key | Value | Description |
|---|---|---|
| file |
Some of the actions you can perform are: get all courses, get all courses from a bootcamp, single course, create a new bootcamp course, update an existing bootcamp course or delete an existing bootcamp course.
Get all courses.
Get a single course.
Get all courses from a bootcamp.
Create a new course in a specified bootcamp. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Update an existing bootcamp course. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Delete an existing bootcamp course. You must be authorized.
Some of the actions you can perform are: get all reviews, get all reviews from a bootcamp, single review, create a new review, update an existing review or delete an existing review.
Get all reviews.
Get a single review.
Get all reviews from a bootcamp.
Create a new review for a bootcamp. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Update an existing review. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Delete an existing review. You must be authorized.
Some of the actions you can perform are: register an user, login and logout, get actual user logged in, reset password, update user details and update password.
Register a new user.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Get the actual user logged in.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Login.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Logout. You must be authorized.
Update user details. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Update password. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Receives a link to reset password.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Reset password.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Some of the actions you can perform are: get all users, get a single user, create a new user, update an existing user and delete an existing user.
Get all users. You must be authorized.
Get a single user. You must be authorized.
Create a new user. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Update an existing user. You must be authorized.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
JSON Type |
Delete an existing user. You must be authorized.