Ruby on Rails API — Flatiron School Project

Deirdre Sullivan
1 min readJan 11, 2021

I just finished my final back-end project for the Flatiron School. This took me much longer than I thought it would to complete, but ultimately I learned how important it is to invest time in project design and layout. I ran into so many problems and wasted time because I rushed the process.

Some of the more challenging tasks that I came across were:

  1. OmniAuth — I wanted to use G-mail to authenticate my users, and connecting this with the OmniAuth gem and utilizing Google Developer Console made me scratch my head more than a few times.
  2. DRY — Keeping as much logic as possible out of the controller and keeping it DRY. Going forward, I need to practice utilizing helper methods to achieve this.
  3. Having login/logout/signup in the SessionsController. This was very different than the Sinatra project. The concept of sessions is was not one I was confident in going into this project.
  4. Git Commits — I did not do them as often as I would professionally. I need to write better messages and commit more frequently!

Overall, I think this was a great learning experience that makes students exercise fundamental programming concepts. I am looking forward to come back and implement some Javascript in the near feature.

--

--