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
- Host: GitHub
- URL: https://github.com/iggredible/node-hbs-starter
- Owner: iggredible
- Created: 2019-04-23T23:11:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T23:13:31.000Z (about 6 years ago)
- Last Synced: 2025-01-07T06:43:12.338Z (5 months ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`