Skip to content
/ node-skeleton Public template

Backend boilerplate - Includes Express+Babel+Docker+ESLint

License

Notifications You must be signed in to change notification settings

EdLab/node-skeleton

Repository files navigation

EdLab Node.js Skeleton

Template Usage

File Structure

.
├── Dockerfile
├── LICENSE
├── README.md
├── config
│   ├── app_config.js
│   ├── app_config_private.js
│   ├── constants.js
│   └── index.js
├── ecosystem.config.js
├── package-lock.json
├── package.json
├── server
│   ├── app.js
│   ├── index.js
│   ├── lib
│   │   ├── Logger.js
│   │   └── Response.js
│   └── routes
│       └── error.js
└── test
    └── basic.test.js

Development

Start development server

npm i
npm run dev

Test

npm run test
npm run test:report
npm run test:coverage

Bump version

npm version patch
npm version minor
npm version major

Deployment

Build

npm run build

Start server

npm start

Start server with Docker

npm run start:docker

Start new project

git clone https://github.com/EdLab/node-skeleton.git NEW_PROJECT && cd NEW_PROJECT && npm i

References

About

Backend boilerplate - Includes Express+Babel+Docker+ESLint

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published