Files
blog/content/_data/works/nestjs.md
2022-07-23 15:35:22 +02:00

1.1 KiB

NestJS 9 implementation under NodeJS using Typescript and pnpm as fast package manager. It relies by default on express as NodeJS HTTP server implementation. NestJS offers a nice OpenAPI documentation generator thanks to Typescript which provides strong typing.

The separated ORM package take the best ideas from both known Doctrine and Eloquent PHP ORM :

  • DataMapper pattern with POTO objects like Doctrine, with similar migrations generator.
  • A Model Factory with seeder system for quick seeding dummy data inside database, with help of Faker, as Laravel does.

Main packages involved :

  • MikroORM on latest v5 as DataMapper ORM that relies on Typescript, including migrations and seeders with as dummy data generator
  • ESLint with Prettier for linting and code formatting
  • Jest as main test framework