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-02-27 11:56:43
最后一次提交2022-02-08 16:55:44
發布數4
最新版本名稱v11.0.0 (發布於 )
第一版名稱v7.0.0 (發布於 )
用户参与
星數2.6k
關注者數32
派生數484
提交數424
已啟用問題?
問題數116
打開的問題數14
拉請求數113
打開的拉請求數5
關閉的拉請求數95
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?