A boilerplate for Node.js apps working with Babel, ESLint, Prettier, Config, Winston
For github users you can use the new template system to fork this boilerplate
Make sure you have Node.js and the Yarn installed.
$ git clone https://github.com/KOJI-SAS/node-babel-modern-boilerplate.git # or clone your own fork
$ cd node-babel-modern-boilerplate
$ cp .env.dist .env
$ yarn
$ yarn dev
$ yarn
$ yarn build # Transpile with Babel
$ yarn serve
$ yarn lint
$ yarn lint:fix # Fix errors
├── src # Source
│ └── index.js # Main file
├── dist # Transpiled javascript
├── config # Config
├── logs # Winstone logs
└── .env # Environment Variables
For more information about used libraries, you can refer
This project is under MIT License.