https://book-catallog-omega.vercel.app/
-
Sign Up:
- Endpoint:
api/v1/auth/signup
- Method:
POST
- Endpoint:
-
Sign In:
- Endpoint:
api/v1/auth/signin
- Method:
POST
- Endpoint:
-
Get All Users:
- Endpoint:
api/v1/users
- Method:
GET
- Endpoint:
-
Get Single User:
- Endpoint:
api/v1/users/:id
- Method:
GET
- Example:
api/v1/users/60ecd837-85a8-4757-b4db-999f29d5aa2b
- Endpoint:
-
Update User:
- Endpoint:
api/v1/users/:id
- Method:
PATCH
- Endpoint:
-
Delete User:
- Endpoint:
api/v1/users/:id
- Method:
DELETE
- Endpoint:
-
Create Category:
- Endpoint:
api/v1/categories/create-category
- Method:
POST
- Endpoint:
-
Get All Categories:
- Endpoint:
api/v1/categories
- Method:
GET
- Endpoint:
-
Get Single Category:
- Endpoint:
api/v1/categories/:id
- Method:
GET
- Example:
api/v1/categories/a9653b04-0be1-4ae8-9b2e-01f6c74e8a75
- Endpoint:
-
Update Category:
- Endpoint:
api/v1/categories/:id
- Method:
PATCH
- Endpoint:
-
Delete Category:
- Endpoint:
api/v1/categories/:id
- Method:
DELETE
- Endpoint:
-
Create Book:
- Endpoint:
api/v1/books/create-book
- Method:
POST
- Endpoint:
-
Get All Books:
- Endpoint:
api/v1/books
- Method:
GET
- Endpoint:
-
Get Books By Category:
- Endpoint:
api/v1/books/:categoryId/category
- Method:
GET
- Endpoint:
-
Get Single Book:
- Endpoint:
api/v1/books/:id
- Method:
GET
- Endpoint:
-
Update Book:
- Endpoint:
api/v1/books/:id
- Method:
PATCH
- Endpoint:
-
Delete Book:
- Endpoint:
api/v1/books/:id
- Method:
DELETE
- Endpoint:
-
Create Order:
- Endpoint:
api/v1/orders/create-order
- Method:
POST
- Endpoint:
-
Get All Orders:
- Endpoint:
api/v1/orders
- Method:
GET
- Endpoint:
-
Get Single Order:
- Endpoint:
api/v1/orders/:orderId
- Method:
GET
- Endpoint: