Made By Hailey!

What is my project and what makes it awesome?

My project is basically a mini social media site, for cats. What else do you need in life? You can sign in, then instantly post a story about your cats. Boom.

How did you come up with your idea?

Pick one more...maybe this one?

I like cats. I like social media. Catnips was born.

What is your table structure?

Pick one more...maybe this one?

I have 2 tables that are connected, one for users, and another for catnips.

Each user has an id, and then each catnip has a user id it connects to, allowing me to see what user posted what catnip.

Picture Available Soon

What is the hardest piece of code or what was a problem you had to solve?

Pick one more...maybe this one?
  @user = User.find_or_initialize_by(email:
    @user.picture = info.picture = "#{info.given_name} #{info.family_name}"
    session[:current_user_id] =

Why is was so hard

I struggled a lot with the Google Authentication, but I'd say the one that gave me the most trouble was actually collecting the information, and then displaying it on the page.

What is the next step?

Pick one more...maybe this one?

I'd like to continue working on Catnips and possibly add pictures, a "like" system, ect..

This Project was made for SheQL

SheQL is a free, 10 week course offered to high school girls, femmes, and non-males in the Summer of 2017 by Mystery Code Society and supported with materials and space by the Abrahams Branch library.

This project was built using Ruby, Postgres, ActiveRecord, and Sinatra.

If you think this page is beautiful, then that is thanks to a custom front-end framework by Cara Heacock (puzzalea on github). We are so lucky to have her!