Rails/React App Tips
As I completed my capstone project for my bootcamp, I spent a few sleepless nights mulling over the dreaded errors that constantly felt like a gut punch as a beginner developer. Throughout my journey in creating my app, I made sure to take note of what I would do differently for the next app I would create. While, I plan to breakdown the tips in detail, here is a sneak peak of my Full Stack app I made called Urban Living!
Tip # 1
Take your time with planning out your app. Seriously, intentionally take it slow and your future self with thank you later. What does planning your app consist of you might ask? While your setup is not limited to these steps, it’s best to take them as helpful suggestions.
Get courtney’s stories in your inbox
Join Medium for free to get updates from this writer.
Think methodically about your models that you want to use in your Rails API backend and map it out. Here is my three models for this specific project:
You could also go further and wireframe your frontend with tools like draw.io!
Tip # 2
Save yourself the MAJOR headache and search for templates or boilerplates that other developers have already created that include the necessary gems and features that your app requires. Here was my initial template that connected both my backend and frontend:
Being able to work in one window was quite the game changer compared to our previous projects that required a backend folder and a separate frontend folder.
Tip #3
Create organized, clean, and seamless seed data. Deciding to create my own seed data was a great option for me considering the other challenges that I knew I would face. The data that I worked with was not going to be the issue, so I took time in creating the following data for my project:
Tip # 4
TEST TEST TEST your features. Use your ‘rails c’ and browser console for evidence that your feature is or isn’t working! And if you’re still having difficultly, ask for help. Often, I would hear to google that or this, and as a new developer, google can be a daunting hole you can get sidetracked in. The best help is another fellow developer who is willing and able to work through the errors with you. I was most productive and successful with my time when I reached out for help. Stayed tuned for a total breakdown of my app in the next blog post and in the meantime, reflect on these tips. Good luck!









