/jwt_api_boiler

This is a boilerplate for Rails APIs with Authentication using JWT. Doesn't use Devise or Simple Command. Plug-n-play

Primary LanguageRuby

A simple API boiler project with versioning and authentication. The goal with this is to be able to plug-n-play or CLONE-n-play with User authentication using JWT pre-setup.

There is no authorization setup, but the User model comes with an Admin boolean and a helper_method/concern can probably be built to check authorization.

Based on this tutorial: https://paweljw.github.io/2017/07/rails-5.1-api-app-part-4-authentication-and-authorization/