NodeJS HTTPS server which covers brief introduction of the following:
- https [to create nodejs server]
- passport-http [to authenticate http request]
- Create https server using https module
- Authenticate HTTP requests using passport-http
This repo uses number of packages/modules:
- [https://github.com/jaredhanson/passport-http] - passport-http
- [https://nodejs.org/dist/latest-v8.x/docs/api/https.html] - https(core module)
It requires Node.js v7+ to run. Install the dependencies and devDependencies and start the server.
$ cd node-https-server
$ npm install
$ npm start