Skip to main content
FarmFarm
Version: 2.x (Latest)
On this page

NestJs

Create a NestJs project based on Farm.

Farm provides two approaches to support creating NestJs projects:

  • Use the create-farm scaffold to create a scaffold project
  • You can manually create a NestJs project following the current documentation

Creating a NestJs Project

sh
npm create farm@latest
sh
yarn create farm@latest
sh
pnpm create farm@latest
sh
bun create farm@latest

Select NestJs template in Select Framework

The nestjs project uses farmup to start and build the project. Farmup is built based on farm to simplify the way you run ts files in node js.

After downloading the template, run pnpm dev to start the nestjs project

sh
npm run dev
sh
yarn run dev
sh
pnpm run dev
sh
bun run dev

Start enjoying the development experience of millisecond builds

For more example details: React Example

100%

Drag or pinch to explore. Keyboard: + / − zoom, arrows pan, 0 resets, Esc closes.