사전 지식 필요: graphQL, typescript, nestjs, react-hooks
typescript는 final때 썼던 거라 쿨하게 스킵 ( 필요할때만 공부할것)
Nestjs 무료강의는 언제듣지..
GraphQL 1,2 무료강의 들어야 한다
React Hooks 는 urclass sprint 이용
기존 프로젝트에서
NestJS Feature
A framework uses your code, you use the library.
By default, Nest makes use of the Express framework. As mentioned earlier, Nest also provides compatibility with other libraries such as, for example, Fastify.
It's a function that adds functionality to classes or members of the class.
The AppModule is the module that imports all other modules.
A controller takes a request to a URL and will execute a function.
헷갈리지 말자
❌ A controller is like a middleware in Express
A service handles the business logic.
the service should access the DB
❌ Functions on the controllers and on the services have to have the same name.
NestJS 장점
Architecture, NodeJS projects lack structure.
Nan
Complete