TypeORM Setup
Learn about the NestJS library, TypeORM, and how to install them via the CLI on our local machine.
NestJS is a Node.js framework or library. It’s unique in that it ships a lot of libraries for difficult tasks such as cron jobs, authentication, sockets, and so on, improving the developer experience. It’s highly modularized and well-structured from the ground up, which makes it one of the best choices for many back-end engineers.
In this lesson, we’ll go through five different steps to set up the codebase.
Create a starter project
From the official NestJS GitHub repository, we can clone a starter project.
Tip: We have a Single-page application (SPA) widget with all the configurations and setups that can be used to practice.
git clone https://github.com/nestjs/typescript-starter.git typeorm-educativecd projectnpm installnpm run start:debug
With our local setup, we can now open the application in the browser on localhost:3000
.
Install npm packages for TypeORM
We’ll install the ...