Skip to content

Back End for smart booking. Looking for code review

Notifications You must be signed in to change notification settings

psytonik/smart-booking

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

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

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

License

Nest is MIT licensed.

About

Back End for smart booking. Looking for code review

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages