Skip to content

Backend challenge using NestJS + Docker + some other stuff :D

Notifications You must be signed in to change notification settings

GustavoMS97/w-backend-challenge

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

This is a code challenge using the NestJS framework, with Mongoose/MongoDB as database of choice. My approach was to use domain-driven development for the organization/maintainability of this project and to keep things encapsulated.

The instructions proposed the following:

  • Use NestJS ✅
  • Create CRUD for Tasks following specified rules for each of the endpoints ✅
  • Error handling and data validation for the APIs ✅
  • Documentation (Swagger) ✅
  • Implement integration and unit tests (Optional) ✅
  • Deploy the API to a cloud provider (Optional)✅
  • Bonus: Dockerize the application ✅

Information for reviewer

The project is deployed in Render using Docker here.

Installation

$ yarn install

Environment variables

  • Copy the .env.dist file
  • Set your environment variables

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

# Docker mode
$ yarn run start:docker

Test

# unit tests
$ yarn run test:unit

# e2e tests
$ yarn run test:e2e

# complete test coverage
$ yarn run test

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

Backend challenge using NestJS + Docker + some other stuff :D

Resources

Stars

Watchers

Forks

Packages

No packages published