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

https://github.com/fireworksx/checkpoint-server

⚙️ Back-end side for checkpoint startup
https://github.com/fireworksx/checkpoint-server

jwt mongo mongoose nodejs

Last synced: 2 months ago
JSON representation

⚙️ Back-end side for checkpoint startup

Awesome Lists containing this project

README

          

# Checkpoint-server

### Features

- Full typescript coverage
- Mongoose connection
- Request validation
- JWT authorization

### Bootstrap
Development

1. Create `.env.local` with
```
JWT_SECRET=yourSecretOfJwt
JWT_EXPIRATION_MINUTES=15
MONGO_URI=mongodb://localhost:27017/checkpoint
MONGO_URI_TESTS=mongodb://localhost:27017/checkpoint
```
2. Run `yarn`
3. For run project with development mode run `yarn dev`
4. For *production* mode run `yarn build` and after that command start serving server `yarn start`