Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.43 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.43 KB

Questionnaire Editor - Backend

Questionnaire Editor Logo

➡ Link to the Frontend repository: Questionnaire Editor - Frontend

Summary

A NestJS application responsible for serving the RESTful API consumed by the Frontend linked above through a MongoDB database.

Tech Stack

Running the Backend

# development
pnpm run start

# watch mode
pnpm run start:dev

# production mode
pnpm run start:prod

Unit Tests and Code Coverage

# unit tests
pnpm run test

# test coverage
pnpm run test:cov

Dockerizing

# building the backend image
docker build -t questionnaire-editor-backend .

# starting docker-compose with the MongoDB image
docker-compose up -d questionnaire-editor-backend

Design Decisions and Better Alternatives

Please read the Design Decisions and Better Alternatives section in the Frontend repository.