Skip to content

cyrillopes/pokee

Repository files navigation

//////////////////// /*GetAllUser/ (GET)> https://developerjwt.herokuapp.com/api/auth/users

/*Register/ (POST)> https://developerjwt.herokuapp.com/api/auth/register (body) => {"name":"Aakash", "email":"aa@gmail.com","password":"12345678","phone":343432,role?":"user"}

/*Login/ (POST) => https://developerjwt.herokuapp.com/api/auth/login (body) => {"email":"aa@gmail.com","password":"12345678"} (response)=> {auth:true,token:'dgsdg'}

/*UserInfo/ (GET) => https://developerjwt.herokuapp.com/api/auth/userinfo (Header) => {'x-access-token':'token value from login'}

npm i bcryptjs body-parser cors express jsonwebtoken mongoose

https://dashboard.paytm.com/next/activate

https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors