Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/adrien2p/nestjs-sequelize-jwt

Nest + Sequelize + jwt
https://github.com/adrien2p/nestjs-sequelize-jwt

dotenv jsonwebtoken jwt nest nest-js node nodejs orm sequelize typescript

Last synced: about 1 month ago
JSON representation

Nest + Sequelize + jwt

Awesome Lists containing this project

README

        

![Nest](assets/logo.png)

### Project made with [nest](https://github.com/kamilmysliwiec/nest/blob/master/Readme.md) and use

- [Sequelize](https://github.com/sequelize/sequelize)
- [JWT](https://jwt.io/)

### And what about this repo ?

This project is a starter kit which implement the following :

- Nest.js
- Sequelize (ORM)
- Umzug (Migration)
- Dotenv (Evironement variable)
- JWT (For Json Web Token authentication)

### How it works

- To format code `npm run format`
- Start the server `npm start`
- To run up/down migration `npm run migrate {up/down}`

### Configuration

To configure put all config file in the `./src/config/*`.
To use the env variable, remove `.demo` from `.env.demo`.