https://github.com/iggredible/node-basic-auth-starter
NodeJS Starter with basic auth using JWT auth
https://github.com/iggredible/node-basic-auth-starter
basic nodejs starter
Last synced: 3 months ago
JSON representation
NodeJS Starter with basic auth using JWT auth
- Host: GitHub
- URL: https://github.com/iggredible/node-basic-auth-starter
- Owner: iggredible
- Created: 2019-03-20T12:43:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T12:32:55.000Z (about 6 years ago)
- Last Synced: 2025-01-07T06:43:10.000Z (5 months ago)
- Topics: basic, nodejs, starter
- Language: JavaScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS BASIC starter
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 bodyTo start, `npm install`, then create `.env` folder and put `PORT=3000`, then `npm run start`