case study
Prisma Generator NestJS DTO
An open source tool that writes the repetitive code of a backend for you, starting from the database structure. Always in sync and easy to extend.
- Stack
- TypeScript
- Prisma
- NestJS
- Code generation

Whoever builds a backend keeps rewriting the same rules for every table: what can be created, what can be changed, how a record looks. The generator writes them instead, always in sync with the database, and makes them usable by the site’s forms too.
It keeps pace with the latest versions of the tool it builds on, so its users upgrade without rewriting anything. It is free, extends with custom plugins and is covered by automated tests.
How it works and why I wrote it, in this article on DEV.
gallery
