This is an improved version of https://github.com/voscarmv/rails_jwt
Based on https://github.com/DakotaLMartinez/rails-devise-jwt-tutorial
Rails 7 fix: DakotaLMartinez/rails-devise-jwt-tutorial#1
Changed fast_jsonapi to https://github.com/jsonapi-serializer/jsonapi-serializer
Remember to...
$ cd rails_jwt
$ bundler
$ echo "secret_key_base: `rails secret`" # ...copy the output of this
$ EDITOR=nano rails credentials:edit # and paste it here.
Then just
$ rails s
Test this with https://github.com/voscarmv/JWT_tester