Skip to content

itzikbenh/Rails-React-Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails-React-Auth

This app is still in the work, but it has a complete Auth system that is ready to be used against client apps. Once you register from the client app you will receive an access_token. There is also a verify_access_token in the Session controller method so you can use it to verify the access_tokens. You may watch the first part of my tutorial where I explain how the Rails backend works in this link. https://www.youtube.com/watch?v=ZpiF5IhavaY

Setup

  1. Clone the repository
  2. Install required gems via bundle install
  3. Update database credentials in config/database.yml
  4. Setup database
  5. rake db:create
  6. rake db:schema:load
  7. rake db:migrate

Development

  • Run project rails server
  • Navigate to localhost:3000 to see it working!

About

Rails app that is ready to connect to any client app. I've implemented Michael Hartl's Auth system and added access_token for client apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published