An open API service indexing awesome lists of open source software.

https://github.com/iggredible/node-hbs-starter

Simple node starter with node-hbs template
https://github.com/iggredible/node-hbs-starter

Last synced: 4 months ago
JSON representation

Simple node starter with node-hbs template

Awesome Lists containing this project

README

        

# NodeJS BASIC starter with express-hbs

Includes:
- [@babel/core](https://www.npmjs.com/package/@babel/core) for babel compiler
- [@babel/node](https://babeljs.io/docs/en/babel-node) for running ES(whatever) on local dev
- [@babel/present-env](https://babeljs.io/docs/en/babel-preset-env) for latest JS
- [nodemon](https://nodemon.io/) for automatic reload
- [dotenv](https://www.npmjs.com/package/dotenv) for secrets
- [cors](https://www.npmjs.com/package/cors) to enable [cors](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
- [body-parser](https://github.com/expressjs/body-parser) for handling requests with body

- [express-hbs](https://github.com/barc/express-hbs) for templating

To start, `npm install`, then create `.env` folder and put `PORT=3000`, then `npm run start`