Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.09 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.09 KB

Nodejs-ES6-Boilerplate

Made in Indonesia

A Node.js boilerplate with ES6, ESLint, and Prettier

Background

I created this boilerplate because I have several coding interviews that needs to be done using JavaScript.

Scripts

# Run the project without nodemon
npm run start

# Build the project
npm run build

# Clean build
npm run clean

# Check the lint errors
npm run lint

# Fix the lint errors
npm run lint:fix

# Run prettier
npm run format

# Check prettier errors
npm run format:check

Usage

  1. Clone the repository and init new git project
$ git clone [email protected]:vferdiansyah/nodejs-es6-boilerplate.git ./your/project/folder
$ cd ./your/project/folder
$ rm -rf .git
$ git init
  1. Change project specific information in the following places
  1. Install dependencies
$ npm i
  1. Start coding

License

Copyright (c) 2020 Veri Ferdiansyah
Licensed under the MIT license.