This is a fork of oauth2-example which adds two legged auth example.
Run npm install
to install required packages.
You can run node seed.js
to create a user account. Run npm start
, then go to http://localhost:3000/ and sign in with alex@example.com
, password: test
.
Make sure MongoDB is up and running then run test by
npm test