Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 4.48 KB

File metadata and controls

61 lines (44 loc) · 4.48 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Wait...there's nothing here! Why?

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.