A progressive Node.js framework for building efficient and scalable server-side applications.
Code Challenge - Backend
- Node.js
- NPM
- Docker
- Docker Compose
- Google Oauth2 Client ID and Secret- Create a .env file in the root directory
- Add:
-DATABASE_URL="mongodb://root:prisma@localhost:27017/prisma-mongo?authSource=admin&retryWrites=true&w=majority"
-REFRESH_TOKEN_SECRET="any random string"
-GOOGLE_CLIENT_ID="your google client id"
-GOOGLE_CLIENT_SECRET="your google client secret"$ docker-compose up --build -d
$ npm install
$ npx prisma generate
$ npx prisma db push# 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:covNest 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.