add file named .env with contents to the root directory:
NODE_ENV=development
PORT=9000
DATABASE_URL=postgres://admin:admin@mindscape_postgres_1:5432/mindscape
REDIS_URL=redis://mindscape_redis_1:6379
JWT_ACCESS_TOKEN_SECRET=secret JWT_ACCESS_TOKEN_EXPIRATION_TIME=600
JWT_REFRESH_TOKEN_SECRET=secretsecret JWT_REFRESH_TOKEN_EXPIRATION_TIME=604800
add file named docker.env with contents to root directory
POSTGRES_USER=admin POSTGRES_PASSWORD=admin POSTGRES_DB=mindscape PGADMIN_DEFAULT_EMAIL=admin@admin.com PGADMIN_DEFAULT_PASSWORD=admin
Built on NestJS
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.