This is just a basic webserver that accepts login requests. It is written in javascript (nodejs), and uses a few third party packages. The usernames and passwords are hardcoded in index.js (admin/admin123).
Here are some very technical instructions for installing and running. It's not really geared toward totally novice users, but with enough effort, you can get it running.
- Install
git
(google: install git) - Install
node
(google: nodejs)
Then ...
- Open a command window (Terminal.app in Mac OSX)
- Navigate to your favorite directory (or just do nothing)
- Run:
mkdir node-example
- Run:
cd node-example
- Run:
git clone git@github.com:katzgrau/hoc-node-login-server-example.git
- Run:
cd hoc-node-login-server-example
- Run:
node index.js
- Open a browser to http://127.0.0.1/