map7 / backend_rails6_template

Rails 6 with devise & devise_token_auth setup for API and standard Rails views

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails 6 API + Web backend with devise

This is a Rails 6 project which has been configured as an API for use with nativescript mobile apps and still talks to standard Rails views. It uses the devise and devise_token_auth to authenticate users into the system.

Dependencies

ruby2.6.6
PostgreSQL9+

Using the templates

  1. Clone this repository
  2. Copy it to a new name
  3. Setup
    rake db:create
    rake db:migrate
    rake db:seed
        
  4. Start server
    rails s
        
  5. Test that you can login
  6. Setup the ‘frontend_nativescript_template’

About

Rails 6 with devise & devise_token_auth setup for API and standard Rails views


Languages

Language:Ruby 82.2%Language:HTML 10.2%Language:JavaScript 6.4%Language:CSS 1.2%