/nest-starter

A nestjs serverless startup template deployed on vercel. Nestjs Vercel Serverless起手模版🧸

Primary LanguageTypeScriptMIT LicenseMIT

Nest Logo

A nestjs serverless startup template deployed on vercel.🧸

👀Live Demo

English | 简体中文

✨Try it now!

GitHub Template

Create a repo from this template on GitHub👈.

Deploy on Vercel

One-click deployment to Vercel

Deploy with Vercel

🧾Checklist

When you use this template, try follow the checklist to update your info properly

  • Change the author name in LICENSE
  • Change the infos in package.json
  • Change the config in docker-compose.yml
  • Change .env.example/.env.prod.example to .env/.env.prod
  • Remove the .github folder which contains the funding info
  • Clean up the READMEs

nd, enjoy :)

🍚Usage

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Build

To build the Server, run

$ pnpm build

And you will see the generated file in dist that ready to be served.

Docker Production Build & Start

$ docker-compose up --build

Support

🎉 Thank you so much for checking out our project! If you found this project helpful or you think it's cool, you can send us a sign of support at 🌟star🌟. This will help our project to get more attention and development, but also a kind of encouragement and affirmation of our efforts.

🚀 Of course, if you have any suggestions, feedback or contributions that would like to participate in the project, we are very welcome! You can interact with us by submitting an Issue or Pull Request.

💖 Thank you for your support!