https://github.com/nikolam-dev/ecommerce-store-nest-mongo
🌿 NestJS + MongoDB + Auth + Swagger + JWT + Roles
https://github.com/nikolam-dev/ecommerce-store-nest-mongo
auth mongonse nestjs rest-api swagger typescript
Last synced: about 1 year ago
JSON representation
🌿 NestJS + MongoDB + Auth + Swagger + JWT + Roles
- Host: GitHub
- URL: https://github.com/nikolam-dev/ecommerce-store-nest-mongo
- Owner: NikolaM-Dev
- Created: 2021-08-13T23:35:33.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T22:43:07.000Z (over 4 years ago)
- Last Synced: 2025-04-10T04:08:03.488Z (about 1 year ago)
- Topics: auth, mongonse, nestjs, rest-api, swagger, typescript
- Language: TypeScript
- Homepage: https://ecommerce-store-nest-mongo.herokuapp.com/api
- Size: 1.3 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌿 Ecommerce Store Nest and MongoDB
Rest Api NestJS + MongoDB with authentication with jwt and passport. Validation of actions by roles. With self-generated documentation with Swagger.
## Content
This project has one branch: main, contains the final product. And several temporary child branches where features are resolved or bugs are fixed.
Carrying out the git workflow strategy [github flow](https://guides.github.com/introduction/flow/)
## Demo
If you want to see the demo of this proyect deployed, you can visit [Demo of the proyect](https://ecommerce-store-nest-mongo.herokuapp.com/api)
> This is for the sole purpose of having the deployment
## Installation
```sh
# yarn
yarn
# npm
npm install
```
### Running the App
```sh
# development
yarn start
# watch mode
yarn start:dev
# production mode
yarn start:prod
```
### How to start the database container 🐘
```sh
# up in background
docker-compose up -d mongo
```
> Don't forget to fill in the field of `example.env`
## Data Flow

## Access Token and Role Flow
