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
- Host: GitHub
- URL: https://github.com/satheesh1997/rails-jwt
- Owner: satheesh1997
- Created: 2019-08-10T05:02:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T07:27:51.000Z (about 3 years ago)
- Last Synced: 2025-02-01T21:14:29.546Z (12 months ago)
- Language: Ruby
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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.