An open API service indexing awesome lists of open source software.

https://github.com/satheesh1997/rails-jwt

rails jwt auth api
https://github.com/satheesh1997/rails-jwt

Last synced: 10 months ago
JSON representation

rails jwt auth api

Awesome Lists containing this project

README

          

# rails-jwt

This is a simple rails api that uses jwt token for authentication

urls present:
1. POST /auth/login/ -> authenticates the user and displays the token
2. GET /users/ -> lists all the users
3. POST /users/ -> create a new user
4. PUT /users/{username} -> updates a user
5. DELETE /users/{usernmae} -> deletes the particular user
6. GET /users/{username} -> shows the details of the particular user

Note:
This webapp is developed while trying to explore how to build a auth
system for rest-api in rails.