1.0.19 • Published 2 years ago

nest-vercel-cli v1.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Nest.js Project with Vercel Deployment

This is a template for creating a Nest.js project with Vercel deployment support. Follow the steps below to set up and deploy your project.

Prerequisites

  • Node.js (>= 14.x.x)
  • npm (>= 6.x.x)
  • Nest.js CLI (>= 8.x.x)

Getting Started

To create a new Nest.js project using the custom CLI for Vercel deployment, follow these steps:

  1. Install the custom CLI globally on your system:
npm install -g nestjs-vercel-cli
  1. Create a new Nest.js project:
nestjs-vercel create my-nest-vercel-project

Replace my-nest-vercel-project with your desired project name.

This command will create a new Nest.js project with the necessary Vercel deployment configuration (vercel.json).

  1. Project Structure

After creating your project, you will have the following structure:

  ├── src/
  │   ├── app.controller.ts
  │   ├── app.module.ts
  │   ├── app.service.ts
  │   └── main.ts
  ├── test/
  ├── vercel.json
  ├── .gitignore
  ├── nest-cli.json
  ├── package.json
  ├── README.md
  ├── tsconfig.build.json
  └── tsconfig.json
  1. Development
npm run start:dev

The server will be available at http://localhost:3000.

  1. Deployment

To deploy your project on Vercel, follow these steps:

  • Install the Vercel CLI globally on your system:
npm install -g vercel
  • Log in to your Vercel account:
vercel login
  • Deploy your project:
cd my-nest-vercel-project
vercel
1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago