Here we are at number four with just one more project to go! This particular module really made me feel like I made the right decision in choosing a web development career path. Although my project is a bit rough it has still allowed me to prove to myself than I can overcome whatever challenge may come my way by using the strong foundation of knowledge that Flatiron has provided. With that said I will continue to discuss the project and the multiple steps that were followed along the way.
For this project I was required to make a Rails API backend with a JS frontend to make a single page application. The backend seemed simple enough considering that I had spent an entire two months of banging my head against a desk to learn Rails associations and the other multiple moving parts. To my surprise the backend was a very simple has_many association. The first thing that came to mind was creating an app that let users create game reviews that would be stored within descriptive lists such as genres or a custom list title. After creating my models, migrations, and seed data I got to learn a bit about CORS which was basically a security measure used in Rails to only deal with requests from your specified origin. This had to be uncommented and configured before I cold do anything with my frontend.
For my frontend I spent a lot of time studying the 3 pillars of JS how to manipulate the DOM, make fetch requests(POST, PATCH, DELETE), and the fun part EVENT LISTENERS. It was pretty intimidating to know that I would be taking on a second language and would be expected to know enough to demonstrate the 3 pillars over such a short period of time (I gave myself two months). It was quite a journey with multiple frustrations but in the end I rose above and completed the project with a much deeper understanding of not only JS but of Rails also. I look forward to learning React in the next module so I can really bring everything together and feel prepared to take on bigger projects.
Top comments (0)