Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivomiyashiro/bookshop-api
REST API for a book ecommerce crafted with Nest.js and tested with Jest
https://github.com/ivomiyashiro/bookshop-api
jest nestjs
Last synced: about 1 month ago
JSON representation
REST API for a book ecommerce crafted with Nest.js and tested with Jest
- Host: GitHub
- URL: https://github.com/ivomiyashiro/bookshop-api
- Owner: ivomiyashiro
- Created: 2023-07-05T14:23:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-31T22:13:23.000Z (over 1 year ago)
- Last Synced: 2023-09-01T16:59:03.129Z (over 1 year ago)
- Topics: jest, nestjs
- Language: TypeScript
- Homepage:
- Size: 430 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Bookshop API
A robust and high quality REST API for a book e-commerce. Developed using Nest.js, a powerful and scalable Node.js framework and meticulously tested with Jest, ensuring the highest level of code quality and reliability.
## ๐ Crafted with
โ Nest.js
โ Prisma
โ PostgreSQL
## ๐ Features
โญ๏ธ JWT access and refresh tokens
โญ๏ธ RBAC (Role Base Access Control)
โญ๏ธ Google OAuth
โญ๏ธ Payments integration with MercadoPago API
โญ๏ธ Filters and pagination
## ๐ Installation
```bash
$ pnpm install
```## ๐ Running the app
```bash
# development
$ pnpm run start# watch mode
$ pnpm run start:dev# production mode
$ pnpm run start:prod
```## ๐งช Test
```bash
# unit tests
$ pnpm run test# e2e tests
$ pnpm run test:e2e# test coverage
$ pnpm run test:cov
```## License
Nest is [MIT licensed](LICENSE).