BOOK CATALOG 📙
POSTMAN DOCUMENTAION
https://documenter.getpostman.com/view/25136688/2s9YJW7SME
{
"message": "Welcome To This Project 🦀",
"success": true,
"author": "Sazzad Karim",
"Date": "01/09/23",
"name": "Assignment-8",
"tools": "Prisma Express PostgreSQL Typescript",
}
ROUTES 📍
✅ BASE URL https://assignment-8-ten.vercel.app
// AUTH ROUTES 🦀
CREATE USER /auth/signup
LOGIN USER /auth/signin
// USER ROUTES 🦀
GET ALL USER /users
GET SINGLE USER /users/:id
UPDATE USER /users/:id
DELETE USER /users/:id
// BOOKS ROUTES 🦀
CREATE BOOKS /books/create-book
GET ALL BOOKS /books
GET SINGLE BOOK /books/:id
GET BOOKS BY CATEGORY ID /books/:id/category
UPDATE BOOK /books/:id
DELETE BOOK /books/:id
// ORDER ROUTES 🦀
CREATE ORDER /orders/create-order
GET WHOLE ORDERS /orders
GET ORDER BY ID /orders/:id
// CATEGORY ROUTES 🦀
CREATE CATEGORY /categories/create-category
GET ALL CATEGORY /categories
GET SINGLE CATEGORY /categories/:id
UPDATE CATEGORY /categories/:id
DELETE CATEGORY /categories/:id
// PROFILE ROUTES 🪸
GET MY RPOFILE /profile