{"info":{"_postman_id":"f6f7484a-5a46-4391-9fd7-27fe983c06cd","name":"Bookify","description":"<html><head></head><body><p>Bookify is a comprehensive API designed to manage an online book platform. This collection provides endpoints for handling books, user accounts, categories, authentication, wishlists, and subscriptions.</p>\n<p>Key Features:</p>\n<ul>\n<li><p><strong>Books</strong>: Create, retrieve, update, and search for books.</p>\n</li>\n<li><p><strong>Users</strong>: Register, authenticate, and manage user profiles, including roles such as admin, seller, and buyer.</p>\n</li>\n<li><p><strong>Categories</strong>: Organize books by categories and retrieve books within specific categories.</p>\n</li>\n<li><p><strong>Authentication</strong>: Secure endpoints for user login, registration, and role verification.</p>\n</li>\n<li><p><strong>Wishlist</strong>: Add or retrieve books from a user's wishlist.</p>\n</li>\n<li><p><strong>Subscriptions</strong>: Manage and test subscription features for users.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24754089","collectionId":"f6f7484a-5a46-4391-9fd7-27fe983c06cd","publishedId":"2sB3WpQfy6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-11-01T18:16:26.000Z"},"item":[{"name":"Books","item":[{"name":"Search Book By Id","id":"97c24a1c-e5ca-4b31-b703-1596838307be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/books/68eccd5c448614a20658512c","urlObject":{"protocol":"http","port":"5000","path":["api","books","68eccd5c448614a20658512c"],"host":["localhost"],"query":[{"disabled":true,"key":"location","value":"Dhaka"},{"disabled":true,"key":"name","value":"Gym Training"},{"disabled":true,"key":"category.title","value":"dfgdfg"},{"disabled":true,"key":"searchTerm","value":"Applican"}],"variable":[]}},"response":[],"_postman_id":"97c24a1c-e5ca-4b31-b703-1596838307be"},{"name":"Get all books","id":"076c1289-e9b5-4bbd-8ecc-49f1e3e427d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/books","urlObject":{"protocol":"http","port":"5000","path":["api","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"076c1289-e9b5-4bbd-8ecc-49f1e3e427d6"},{"name":"Create Book","id":"9604c6b8-840e-45e9-8b67-8da7eede5bcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"book_id\": 72,\n  \"goodreads_book_id\": 98217,\n  \"best_book_id\": 98217,\n  \"work_id\": 4471820,\n  \"books_count\": 243,\n  \"isbn\": \"9780451524935\",\n  \"isbn13\": 9780451524935,\n  \"authors\": \"George Orwell\",\n  \"original_publication_year\": 1949,\n  \"original_title\": \"Nineteen Eighty-Four\",\n  \"title\": \"1984\",\n  \"language_code\": \"eng\",\n  \"average_rating\": 4.18,\n  \"ratings_count\": 3201174,\n  \"work_ratings_count\": 3350021,\n  \"work_text_reviews_count\": 51248,\n  \"ratings_1\": 86412,\n  \"ratings_2\": 154239,\n  \"ratings_3\": 498771,\n  \"ratings_4\": 1038934,\n  \"ratings_5\": 1570665,\n  \"image_url\": \"https://images.gr-assets.com/books/1348990566m/5470.jpg\",\n  \"small_image_url\": \"https://images.gr-assets.com/books/1348990566s/5470.jpg\",\n  \"category\": \"Politics\",\n  \"price\": 15.99,\n  \"rating\": 4.4,\n  \"stock\": 62,\n  \"publisher\": \"Signet Classics\",\n  \"published_year\": 2024\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/books","urlObject":{"protocol":"http","port":"5000","path":["api","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9604c6b8-840e-45e9-8b67-8da7eede5bcc"}],"id":"a518e3de-1663-4546-8228-9d3b416fb851","_postman_id":"a518e3de-1663-4546-8228-9d3b416fb851","description":""},{"name":"Users","item":[{"name":"Get All Users","id":"4739d9b0-feb2-4633-bbf4-b7e1d91385eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users","urlObject":{"protocol":"http","port":"5000","path":["api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4739d9b0-feb2-4633-bbf4-b7e1d91385eb"},{"name":"Create User","id":"2702a1a0-1392-4490-b64f-a0ed9a44a9b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Md Razwan Niam\",\n    \"email\": \"rezwan@nayem.com\",\n    \"role\": \"buyer\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/users/register","urlObject":{"protocol":"http","port":"5000","path":["api","users","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2702a1a0-1392-4490-b64f-a0ed9a44a9b6"},{"name":"Get User by id","id":"1e68e1d2-009b-4dff-85ae-20d7a1f8a97e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/68f001b8ace80a82cb1994da","urlObject":{"protocol":"http","port":"5000","path":["api","users","68f001b8ace80a82cb1994da"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e68e1d2-009b-4dff-85ae-20d7a1f8a97e"},{"name":"Get user by email","id":"83dbbe77-e60d-4a0a-a40f-d5f41b849714","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/email/sefsef@huishd.com","urlObject":{"protocol":"http","port":"5000","path":["api","users","email","sefsef@huishd.com"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"83dbbe77-e60d-4a0a-a40f-d5f41b849714"},{"name":"Delete User","id":"aa6449a6-4942-4aef-91de-d6d8f8dc2ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/users/68f0038d0a150053830ab60b","urlObject":{"protocol":"http","port":"5000","path":["api","users","68f0038d0a150053830ab60b"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa6449a6-4942-4aef-91de-d6d8f8dc2ac0"}],"id":"5f36da22-1066-444a-a34f-80c083d36ee6","_postman_id":"5f36da22-1066-444a-a34f-80c083d36ee6","description":""},{"name":"Books Category","item":[{"name":"Get all books category","id":"21cce525-0266-4f65-8a36-3b4d5eed4dc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/categories","urlObject":{"protocol":"http","port":"5000","path":["api","categories"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"21cce525-0266-4f65-8a36-3b4d5eed4dc7"},{"name":"Get all books by category","id":"c027a60d-5246-43bf-8f3b-cd9b126eb70f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/categories/History/books","urlObject":{"protocol":"http","port":"5000","path":["api","categories","History","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c027a60d-5246-43bf-8f3b-cd9b126eb70f"},{"name":"Test API","id":"ff406634-729b-4256-8be6-e27d7220ecca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/categories/History/books","urlObject":{"protocol":"http","port":"5000","path":["api","categories","History","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff406634-729b-4256-8be6-e27d7220ecca"}],"id":"2070d844-33c9-4e70-9c07-0217a3c8aef8","_postman_id":"2070d844-33c9-4e70-9c07-0217a3c8aef8","description":""},{"name":"Auth","item":[{"name":"is Buyer","id":"efbfb435-1d2a-46f1-a394-9ff6d26c4b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/buyer/buyer@abc.com","urlObject":{"protocol":"http","port":"5000","path":["api","users","buyer","buyer@abc.com"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"efbfb435-1d2a-46f1-a394-9ff6d26c4b3e"},{"name":"Is Seller","id":"1cfd73f8-4dec-4215-87dd-53fd423ec4d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/seller/seller@abc.com","urlObject":{"protocol":"http","port":"5000","path":["api","users","seller","seller@abc.com"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cfd73f8-4dec-4215-87dd-53fd423ec4d7"},{"name":"Is Admin","id":"997cd133-3095-4114-b73b-7d3f815abb67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/admin/admin@abc.com","urlObject":{"protocol":"http","port":"5000","path":["api","users","admin","admin@abc.com"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"997cd133-3095-4114-b73b-7d3f815abb67"},{"name":"Register User","id":"9606fa3d-52f1-46ce-b80b-714f2bc75a5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"user\",\n    \"email\": \"user@user.com\",\n    \"password\": \"123456\",\n    \"role\": \"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/users/register","urlObject":{"protocol":"http","port":"5000","path":["api","users","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9606fa3d-52f1-46ce-b80b-714f2bc75a5e"},{"name":"Login User","id":"8095e56c-c107-4e63-b7e0-fac96697e5f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"user@user.com\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/users/login","urlObject":{"protocol":"http","port":"5000","path":["api","users","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8095e56c-c107-4e63-b7e0-fac96697e5f5"}],"id":"313d1b6d-9cbe-438e-9d79-d253aabc4817","_postman_id":"313d1b6d-9cbe-438e-9d79-d253aabc4817","description":""},{"name":"Subscription","item":[{"name":"Create Subscription","id":"44828aa3-fccc-4bbb-9dc1-6e7b08b85732","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"44828aa3-fccc-4bbb-9dc1-6e7b08b85732"}],"id":"43f59446-005f-4c56-b8a6-977c96874ed1","_postman_id":"43f59446-005f-4c56-b8a6-977c96874ed1","description":""},{"name":"Wishlist","item":[{"name":"Add Wishlist to User","id":"1f11440d-efe0-4ae0-a011-697e09640793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"bookId\": \"book13\" \n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/users/68f19edcdeb6ba4fffdf0aae/wishlist","urlObject":{"protocol":"http","port":"5000","path":["api","users","68f19edcdeb6ba4fffdf0aae","wishlist"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f11440d-efe0-4ae0-a011-697e09640793"},{"name":"Get User Wishlist","id":"31963419-99c3-4a13-b60b-9b8db28ea5f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/users/68f19edcdeb6ba4fffdf0aae/wishlist","urlObject":{"protocol":"http","port":"5000","path":["api","users","68f19edcdeb6ba4fffdf0aae","wishlist"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"31963419-99c3-4a13-b60b-9b8db28ea5f7"}],"id":"7cfa0acc-2d61-4d2e-97ab-78b0e069e5a5","_postman_id":"7cfa0acc-2d61-4d2e-97ab-78b0e069e5a5","description":""}]}