Back-end API for the Creative Arts Institute application to manage training programs, courses, reviews, users, and authentication.
Training programs CRUD functionality
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Get training programs within a specific radius.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Upload a photo for a specific training program in the database.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Key | Value | Description |
---|---|---|
file |
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Create, read, update, and delete courses.
Get all courses from the database
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Get courses in a specific training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Get a single course from the database
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Create a new course for a specific bootcamp
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Update a specific course.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Delete a specific course from the database.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Authentication for users, such as logging in, registering, etc
Get the currently logged in user.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Logout a user from the platform, and clear cookies.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Registers a new user and saves them to the database
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Login a user in from the database.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Generate a reset password token and send it to the users email.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Reset a users password using the token provided from the forgot password email.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Update the username and email of a user.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Allows user to update their password, after providing their current password.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
User CRUD functionality for admins only.
Get all the users in the database (admin).
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Get a single user from the database (admin).
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Create a new user and add them to the database (admin).
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Update a user in the database (admin).
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Delete a user from the database permanently (admin).
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Provides CRUD funcitonality for reviews.
Get all the reviews for a specific training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Get a single review for a training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Create a review for a specific training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Content-Type | application/json | JSON Type |
Update a specific review on a training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Content-Type | application/json | JSON Type |
Delete a specific review from a training program.
Key | Value | Description |
---|---|---|
Content-Type | application/json | JSON Type |
Content-Type | application/json | JSON Type |