Full Stack NestJS + Next.js Tutorial
GitHub Repos:
- https://github.com/fullstackbook/fullstackbook-todo-nestjs
- https://github.com/fullstackbook/fullstackbook-todo-nextjs
Description
Build a basic To Do App using NestJS as the backend and Next.js as the frontend.
Note: The front end and back end are decoupled.
Terminal
npm i -g @nestjs/cli
nest new fullstackbook-todo-nestjs
npm install --save @nestjs/config @nestjs/typeorm typeorm pg
npm run start:dev
createdb fullstackbook-todo-nestjs
npx typeorm migration:create create-todos-table
npm run typeorm migration:run
npm run typeorm migration:revert
nest g resource todo