Skip to content

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

Notifications You must be signed in to change notification settings

map7/backend_rails6_template

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published