Skip to content
프로젝트

소개

Clean Architecture for node.js projects (Typescript + Express + TypeORM + Typedi)

데이터 및 분석

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

try! resty.js, my newest node.js + express based framework. with controllers and middlewares built in.

nodejs-boilerplate

Clean Architecture for node.js projects

Folder Structure

src
│   main.ts         # Application entry point
└───api             # Express route controllers for all the endpoints of the app
└───config          # Environment variables and configurations
└───loaders         # Split the startup process into modules
└───models          # TypeORM Entities
└───services        # All the business logic is here
└───types           # Type declaration files (d.ts) for Typescript

Getting Started

Step 1: Set up the Development Environment

You need to set up your development environment before you can do anything.

Install Node.js and NPM

Install

  • Install all dependencies with yarn install

Running in dev mode

  • Run yarn start
  • The server address will be displayed to you as http://0.0.0.0:3000

Building the project and run it

  • Run yarn build to generated all JavaScript files from the TypeScript sources.
  • the builded app located in dist.

Inspired by Bulletproof Node.js architecture with modificatins

관련 프로젝트 살펴보기

불러오는 중…