Awesome NestJS Boilerplate v10

很棒的 NestJS 模板、Typescript、Postgres、TypeORM。『Awesome NestJS Boilerplate 😍, Typescript 💪, Postgres 🎉, TypeORM 🥳』

  • 所有者: NarHakobyan/awesome-nest-boilerplate
  • 平台: Docker,Linux,Mac,Windows
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Awesome NestJS Boilerplate v10

Awesome NestJS

This is an ever-evolving, very opinionated architecture and dev environment for new node projects using NestJS. Questions, feedback, and for now, even bikeshedding are welcome. 😄

Getting started

# 1. Clone the repository or click on "Use this template" button.
npx degit NarHakobyan/awesome-nest-boilerplate my-nest-app

# 2. Enter your newly-cloned folder.
cd my-nest-app

# 3. Create Environment variables file.
cp .env.example .env

# 3. Install dependencies. (Make sure yarn is installed: https://yarnpkg.com/lang/en/docs/install)
yarn

Checklist

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

  • Change the author name in LICENSE
  • Change configurations in .env
  • Remove the .github folder which contains the funding info
  • Clean up the README.md file

And, enjoy :)

Scripts

# 4. Run development server and open http://localhost:3000
yarn start:dev

# 5. Read the documentation linked below for "Setup and development".

Build

To build the App, run

yarn build:prod

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

We are excited to announce that this project now supports Deno! You can use Deno to run, build, and test your application. 🦕

Scripts

Here are the available scripts for Deno:

# Start the development server
deno task start

# Start the server with file watcher
deno task watch

# Run tests
deno task test

# Compile the application (not working yet)
deno task compile

To build the App using Deno, run:

deno task buildr

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

We are excited to announce that this project now supports Bun! You can use Bun to run, build, and test your application. 🧅

Scripts

Here are the available scripts for Bun:

# Start the development server
bun start:dev:bun

# Start the server with file watcher
bun watch:bun

# Run tests

bun test

# Build the application

bun build:bun

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

Features

Documentation

This project includes a docs folder with more details on:

  1. Setup and development
  2. Architecture
  3. Naming Cheatsheet

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Awesome NestJS Boilerplate on GitHub

主要指标

概览
名称与所有者NarHakobyan/awesome-nest-boilerplate
主编程语言TypeScript
编程语言 (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2019-02-27 18:50:30
推送于2025-06-11 14:13:15
最后一次提交2022-02-08 16:55:44
发布数4
最新版本名称v11.0.0 (发布于 )
第一版名称v7.0.0 (发布于 )
用户参与
星数2.6k
关注者数32
派生数486
提交数429
已启用问题?
问题数117
打开的问题数14
拉请求数113
打开的拉请求数5
关闭的拉请求数95
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?