kclunie.github.io


OmniAuth Setup

It’s becoming increasingly popular to allows users to login via a third-party account on modern websites. OmniAuth is a gem for Rails that lets you use multiple authentication providers alongside the more traditional username/password setup.


Rails User Authentication

Managing password security carries a lot of weight when building user sign in credentials in a Ruby on Rails application. Fortunately, Rails provides us with tools to store passwords so that hackers don’t gain access to users’ actual passwords. Introducing the bcrypt gem.


Let's Get Thunky

Web requests in JavaScript are asynchronous which means if we make a fetch() request on the first line of our code, the code on the second line will start running before the web request resolves and we have a response to work with. When we retrieve data from APIs, we run into this problem where the action creator returns an action before the data is retrieved.


JavaScripting

For my Rails with a JavaScript front end app I built an event app where users can sign-up and log-in to create events and RSVP to attend events. Users can also add guests to their RSVP. Users are able to create any kind of event indicating date, time, location and details.


Rails Rules

For my Rails portfolio project I created an event app where users can sign up, log in, log out, create events, browse events, and attend events. Users can also indicate whether or not they will bring guests.