sample login app using github and mlab
Here: https://a0bp7ec1efhxa.herokuapp.com/
- clone this project
- run
npm install
- run
npm start
DB is hosted on mLab for testing purpose you can use that
curl -X POST https://a0bp7ec1efhxa.herokuapp.com/create -H 'Content-Type: application/json' -d '{"email":"new@gmail.com","name":"Vikash Kushwaha","password":"dadada"}'
curl -X POST https://a0bp7ec1efhxa.herokuapp.com/login -H 'Content-Type: application/json' -d '{"email":"new@gmail.com","password":"dadada"}
curl -X POST https://a0bp7ec1efhxa.herokuapp.com/reset -H 'Content-Type: application/json' -d '{"email":"new@gmail.com"}