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
- Host: GitHub
- URL: https://github.com/fireworksx/checkpoint-server
- Owner: FireworksX
- Created: 2022-05-06T11:19:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T13:06:05.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T17:58:52.675Z (over 1 year ago)
- Topics: jwt, mongo, mongoose, nodejs
- Language: TypeScript
- Homepage: https://checkpoint.guide
- Size: 620 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Security: SECURITY.md
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`