Skip to content

vikashk1/ExampleLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExampleLogin

sample login app using github and mlab

Deployed on Heroku

Here: https://a0bp7ec1efhxa.herokuapp.com/

installation

  • clone this project
  • run npm install
  • run npm start

DB is hosted on mLab for testing purpose you can use that

APIs

create

curl -X POST https://a0bp7ec1efhxa.herokuapp.com/create -H 'Content-Type: application/json' -d '{"email":"new@gmail.com","name":"Vikash Kushwaha","password":"dadada"}'

login

curl -X POST https://a0bp7ec1efhxa.herokuapp.com/login -H 'Content-Type: application/json' -d '{"email":"new@gmail.com","password":"dadada"}

forgot and reset

curl -X POST https://a0bp7ec1efhxa.herokuapp.com/reset -H 'Content-Type: application/json' -d '{"email":"new@gmail.com"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published