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

https://github.com/bria222/rails-api-jwt-authentication

this is simple Rails API authentication using JSON Web Token (JWT)
https://github.com/bria222/rails-api-jwt-authentication

api-rest cancancan jwt-authentication postgresql ruby ruby-on-rails testing

Last synced: 2 months ago
JSON representation

this is simple Rails API authentication using JSON Web Token (JWT)

Awesome Lists containing this project

README

          

# README
## api routes
![api routes](https://user-images.githubusercontent.com/64264883/209634771-eefd5f37-a2a5-4c4b-81ea-41daa0b9bb1c.png)

![Screenshot (96)](https://user-images.githubusercontent.com/64264883/209635095-fa6b3ffc-1ae0-4125-90bb-1a3a1374fc4d.png)
![Screenshot (97)](https://user-images.githubusercontent.com/64264883/209635180-fbc39c01-5adb-4a2d-a521-01d36b749324.png)
## create user
![create user](https://user-images.githubusercontent.com/64264883/209635635-1e6bb348-efa3-474e-9265-fd18ad991d74.png)

## login
![login](https://user-images.githubusercontent.com/64264883/209635682-521fbdf5-b1b6-4228-9f80-916aec8a0270.png)

## get all users
![get all users](https://user-images.githubusercontent.com/64264883/209635774-c32a1792-f440-4dcc-b546-2deb21226e31.png)

##
![get user](https://user-images.githubusercontent.com/64264883/209635881-e9f82262-2849-4d2c-b971-eb7f92b47100.png)

## using thunder client
![Screenshot (97)](https://user-images.githubusercontent.com/64264883/209635972-5635cc13-82ee-4472-aed5-2dbe02321c3f.png)
![Screenshot (96)](https://user-images.githubusercontent.com/64264883/209635991-f4e1dcd2-9328-4903-b135-8785e384535c.png)

Things you may want to cover:

* Ruby version

* System dependencies

* Configuration

* Database creation

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...