Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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