Chiedo Labs Web Development Harrisonburg VA & Charlottesville VA web design
Picture of Chiedo

Setting up JSON Web Tokens using the jwt gem with Devise for a Rails 4 site


This blog post is heavily inspired by this. It didn’t quite work for me so I made some modifications and figured I’d write a post about it. This tutorial assumes that you already have a standard Devise set up on a rails 4 environment. Install the ruby-jwt gem Add the following to your gem file: gem ‘jwt’, […]

Read more

Picture of Chiedo

How to Authenticate Your ReactJS App With Devise. No Gems Needed.


I love using Devise on my Rails projects and love ReactJS but figuring out how to hook the two together was more complicated than I would have liked. So I figured I’d share my findings! Comments and criticisms are always welcome. To preface this post, it makes sense to describe my setup. I’m running a Rails […]

Read more

Picture of Chiedo

How to Create a React App on a Rails API (Without react-rails)


ReactJs is awesome and Ruby on Rails is awesome. Yes, I get that Ruby on Rails is a resource hog and there are much better choices for serving a ReactJs app on that front… but Rails development is fast and when my developers work on Rails projects, they’re productive. So we wanted to throw ReactJS […]

Read more