Aadhar¶ ↑
<img src=“https://codeclimate.com/github/krunal/aadhar/badges/gpa.svg” />
This project rocks and uses MIT-LICENSE.
gem ‘aadhar’
rake aadhar:install:migrations
rake db:migrate
API list
-
Registration API
-
url - abc.com/users.json
-
method - POST
-
data - { “user”: {“email”:“email_id@abc.com”, “name”:“Krunal”} }
-
-
Login API
-
url - abc.com/sessions.json
-
method - POST
-
data - {“email”:“email_id@abc.com”,“password”:“avhklaz”}
-
-
Change password
-
url - abc.com/passwords.json?auth_token=SbuAeTt6ibIb2_6veWjkDA
-
method - POST
-
data - {“password”:“xyzxyz”,“password_confirmation”:“xyzxyz”}
-
-
Password reset
-
url - abc.com/passwords/reset
-
method - POST
-
data - {“email”: “email_id@abc.com” }
-
-
Logout
-
url- abc.com/sessions/bKJxSkr5sbshhw5BWt8i.json?auth_token=bKJxSkr5sbshhw5BWt8i
-
method - delete
-