/lazy-ants-test-task

Test Task for Lazy Ants

Primary LanguageTypeScript

Test Task for Lazy Ants

RESTful API for products built using NestJS framework + TypeScript.

Main features:

  • CRUD operations for products (including pagination, autotrimming, validation, name uniqueness)
  • Authorization with JWT (sign-in, sign-up for the user)
  • PostgreSQL database with Sequelize ORM (including migrations)
  • Full swagger support (go to /swagger)
  • E2E tests
  • Cloud deployment with Docker on AWS

Plans for:

  • Request caching using Redis
  • CI/CD

Installation

$ npm install

Running the app

# dev mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# e2e tests
$ npm run test:e2e