Skip to content

bugwarez/bookstore-management

Repository files navigation

Bookstore Management

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.

Setup

  1. Clone the Project

git clone https://github.com/bugwarez/bookstore-management.git
  1. Install the dependencies

pnpm install
  1. run prisma generate

npx prisma generate
  1. Run the project

pnpm run start:dev

Postman Collection

https://www.postman.com/loremsoft/workspace/book-store-management

To run the tests

image

pnp run test:e2e

Features

As a user

  • Ability to view all bookstores
  • Can view the books available in each store and query which books are available in which bookstores.

As a store manager

  • 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.)

As an admin

Database is hosted on neon.tech free tier. Feel free to run without any db/docker setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published