Skip to content

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

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages