1.0.19 • Published 1 year ago

nest-vercel-cli v1.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago