プロジェクト
GitHubで見る
satishbabariya/nodejs-boilerplate
概要
Clean Architecture for node.js projects (Typescript + Express + TypeORM + Typedi)
データ・分析計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
- on OSX use homebrew
brew install node - on Windows use chocolatey
choco install nodejs
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 buildto generated all JavaScript files from the TypeScript sources. - the builded app located in
dist.
Inspired by Bulletproof Node.js architecture with modificatins
関連プロジェクトを探す
読み込み中…