Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/luca-montaigut/api_rails_6_boilerplate

postgresql + authentication with devise-jwt + namespace for versionning
https://github.com/luca-montaigut/api_rails_6_boilerplate

devise-jwt namespace postgresql rails-api rails6 rails6-api versioning

Last synced: about 6 hours ago
JSON representation

postgresql + authentication with devise-jwt + namespace for versionning

Awesome Lists containing this project

README

        

# Api_Rails_6_Boilerplate

Starter for api project with :
- Ruby 2.7.1
- Rails 6.0.3.1
- PostgreSQL 12.3
- Devise-JWT 0.6.0 (Blacklist revocation strategie)
- Namespace for versionning
- React-Redux front with authentication already config on ![the associated front app](https://github.com/luca-montaigut/react_boilerplate)

## Installation

`git clone [email protected]:luca-montaigut/api_rails_6_boilerplate.git`

`cd api_rails_6_boilerplate`

`bundle install`

`echo DEVISE_JWT_SECRET_KEY=\"$(rake secret)\" > .env`

`rails db:create && rails db:migrate`

`rails s`

Your API is now running on http://localhost:8080

## 🐰 Auteur
Luca Montaigut : https://github.com/luca-montaigut