This project is built by bugwarez. It is a bookstore management built in:
- NestJS
- PrismaORM
- PassportJS
- JWT
- PostgreSQL
It contains Authentication, Authorization, Role Management and bookstore management.
git clone https://github.com/bugwarez/bookstore-management.git
pnpm install
npx prisma generate
pnpm run start:dev
https://www.postman.com/loremsoft/workspace/book-store-management
pnp run test:e2e
- Ability to view all bookstores
- Can view the books available in each store and query which books are available in which bookstores.
- Can add or remove a specific quantity of a book to/from a store (from the Book table. Quantities might be negative numbers in order to define "requested/needed" books in this store.)
- Can create a new bookstore. (Can create a new bookstore.)
- Can
- Can add or remove a specific quantity of a particular book to/from a specific bookstore.
- Adding new users and roles can only be done by the Admin.(With the first admin user is created with the postman collection(https://www.postman.com/loremsoft/book-store-management/request/b0zeiuf/register-user?tab=body), things will work smoothly.)
Database is hosted on neon.tech free tier. Feel free to run without any db/docker setup.