Very simple web application that presents an unauthenticated landing page, with an option for the user to login via WSD OAuth2 Identity Service, retrieve their user profile and display it in a server-rendered view, enhanced with a custom jQuery plugin. The User profiles stored in session and will be destroyed once the server restarted.
Clone repository to local machine.
git clone https://github.com/zsargod/WSD.git
Required sofwares
Node v6.5
GIT bash
Once project has cloned, from console run
npm install
To start the local server run (replace XXX with the respected value)
CLIENT_ID=XXX CLIENT_SECRET=XXX node app
Once the server started. Open Chrome browswer (or other major recent browser). Click here
npm test
The project uses the Airbnb ES6 code standards
npm run eslint
Server side:
- NodeJs - Platform
- ExpressJs - Web framework
- PassportJs - OAUTH 2.0 Authentication strategy
- Bunyan - Logging
- Handlebars - Templateing engine
- Cookie-session - Session management
Client side:
- David Zsargo