Backend API practice using Devcamper Udemy course from Brad Tradversy
Auth for registration and login
Generates password token and send email reset password
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Clears auth token when user logs out
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Log user in validating email, password, and auth token
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Adds a user with encrpted password
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Update logged in user password, update curernt and new password
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Bootcamps endpoint CRUD methods
Add new bootcamp to database. Must be authenticated, must be publisher or admin
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Delete bootcamp from database
Fetch all bootcamps from database. Includes pagination, filtering, etc
Will get bootcamps by /radius/{miles}
Get singble bootcamp by ID
Update single bootcamp by ID in database
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Route to upload photo
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Create, read, update and delete courses
Create course based on BootcampId
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Remove course from database by id
Get single course by its id
Get a course based its ID from a selection of bootcamps
Update course by id
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
User can add a single review to a specific bootcamp
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Delete review from database
Get all reviews from database and populate with bootcamp name and description
Get reviews for a specific bootcamp ID
Fetch a review from database by id and populate Bootcamp name and description
Update review in database
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
CRUD funtionality only for admins
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |