Let's Build a Rails App!
Tags: rails, anime
Published: 2021-08-16 03:44:54

Here we are again, writing another post, meaning that I completed my third project for Flatiron school and I could not be happier!

This time around, I created an Anime series collective of A-Z titles (my favorites of course).
Since you asked, series wise my favorites are: Attack on Titan, Jujutsu Kaisen, and Code Geass: Lelouch of the Rebellion, but as our likes and interests change this will inevitably change.

Now back to the project..

Requirements for this project seemed like an insurmountable mountain, solving one step only made it seem like the peak got farther and farther away. However, Dory from Finding Nemo was in my head "just keep swimming(climbing)."

To start, I created a few models; Users, Shows, Reviews, and Watch Later.

We want a user to be able to sign in but not hardcode it into the user's controller so I used sessions =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sjodqnz1lx228662yhr2.png)


(omniauth was a headache)

Next, wanted to make sure a user could hop on and see a welcome page to sign up, login, or use a 3rd party, it went like this =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/or3849fyilh4zzw1rp68.png)
Everyone needs a little help sometimes, lets bring in the application helper =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qx2xiq2uy2d3tlxbwtgy.png)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/50xydjkt9ampim2bg521.png)

Good stuff!!

Alright, next was the seed file, which took a lot longer than anticipated. =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wcc2wevaqjik468amclu.png)

Awesome! Next was tying things together with the shows controller and view files. =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2r5v8oydck229yi5chn1.png)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ambm7r8bh5b7ohikh1yy.png)

Everything is in place for our views now =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kj4uhtsu7vlk1i2exbbv.png)

Which all tied together with new, edit, index, and show will look like =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ywuj9gjolfnaquzu6pml.png)

(26 titles are very difficult to fit in one screenshot but you get it)

So, great! We have our users and shows but we need to add some more spice, let's add reviews! 

Here comes the reviews controller! =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vcjv5t4fl04tdd4f9pu5.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lz0fjgitbl4487no4xf0.png)

Sweet, looks like we're set to create some views so we can give our undying love to these amazing titles =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c4d2kdxbrjh0idwti7vo.png)

All tied up like Houdini, it'll look like this! =>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fl91t43aixqd3eox0q3i.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yan7qls86jmn41nxxv69.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/470r0q5p6i236mkjegdu.png)

So we can click on a title, get the genre, description, seasons, and rating, and then leave a review!You can even create a new review, update it or, or delete your review just incase you didn't get give it a 5/5.

And there you have it folk, an A-Z collective of Anime's you should definitely watch if you haven't already.

Now I know it doesn't have all the css bells and whistle right now, but this will continue to be a work in progress and will be updated once it's shiny and pretty.

Thanks for tuning in!

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzzwx8kgkhxhl1fwduzz.jpeg)