Node.js Server

Node.js server is a web server written in Node.js

NPM Scripts

npm run dev

Runs the server in development mode using Nodemon for auto-restart upon change

npm run build

Transpiles the JS files to compatible version in dist directory with Babel

npm start

Run the server from the transpiled files inside dist directory

npm test

Runs the tests inside __tests__ directory using Jest

npm run lint

Runs lint checking using ESLint & Prettier

npm run lint -- --fix

Auto-fix lint errors