A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Because my time for coding ran out :P
Jokes aside, I chose Nest.js because I was familiar with Angular (which inspired heavily the architecture of this project) and I already used Nest with success for a past exercise.
The defining features that sold me the idea were his first class Prisma integration and a pretty good CRUD generator which looked like it could solve a large part of my use case in one fell swoop with nest g resource
.
I had some reserves about choosing Nest.js: I was considering going with an Express/tRPC but I didn't like the fact that I had to write much of the code by myself (maybe an oversight by me, I don't really know much about the Express ecosystem).
And looking at this discussion didn't look like any official support was going to come soon. I thought figuring out a way to integrate Nest.js with tRPC added too much complexity for a take home project and I was worried about it clashing with another great library I planned to include in the admin
app (which does have first class support for Nest.js).
In the end, I scratched completely the inclusion of tRPC in favour of the CRUD generator benefits and my familiarity with the Nest.js architecture.
I was planning to include an adapter for react-admin which would have made trivially simple managing the CRUD operations from the admin
package. But I had to cut scope because my time ran out.