A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
1 step you need to create .env at root of the project
# APP
APP_PORT=4000
# POSTGRES
POSTGRES_DB=smartbooking
POSTGRES_HOST=
POSTGRES_PORT=5432
POSTGRES_USER=
POSTGRES_PASSWORD=
# JWT
JWT_SECRET=
JWT_AUDIENCE=
JWT_TOKEN_ISSUER=
JWT_ACCESS_TTL=360000
JWT_REFRESH_TTL=86400
# GOOGLE API KEY
GOOGLE_API_KEY=
# GOOGLE OAUTH https://developers.google.com/oauthplayground/
SMTP_USER=
GOOGLE_OAUTH_CLIENT_ID=
GOOGLE_OAUTH_CLIENT_SECRET=
GOOGLE_REFRESH_TOKEN=
$ npm install
$ createdb smartbooking
$ docker-compose up -d
$ npm run migration:generate
$ npm run migration:run
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.