A progressive Node.js framework for building efficient and scalable server-side applications.
#.env.dev
## App
PORT=3000
## Database
MONGODB_URI="mongodb://localhost:27017/thinkpro"
## Authentication
JWT_SECRET_KEY="veryverysecret"
JWT_ACCESS_TOKEN_LIFE_TIME="30m"
JWT_REFRESH_TOKEN_LIFE_TIME="1d"
## Bcrypt
BCRYPT_SALT_ROUNDS=12
# .env.docker
## Setup App
PORT=3000
## Setup MongoDB
MONGODB_VERSION=latest
MONGODB_ROOT_USERNAME=admin
MONGODB_ROOT_PASSWORD=admin
MONGODB_ROOT_PORT=27017
MONGODB_ROOT_DATABASE=thinkpro
$ docker-compose --env-file=.env.docker up -d
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev