A full stack application for finding local restaurants built with Ruby on Rails in the backend and React-Redux in the frontend. Utilizes BCrypt encryption, RESTful routes, AWS S3, and the Google Maps API.
Hey the proposal looks pretty good! Here are some notes:
We're going to use paperclip to handle uploading our images and it has an interface to create the proper columns for our models. So we can talk about how to use that in a few days when images come in to play.
You have an array of image_urls for your businesses. If you want to business to have multiple images, there should probably be a table to hold these images and a foreign key to reference the businesses.
Storing lat and lng in your database for your businesses will make integrating with the map a lot simpler in the long run so I think you should ditch the address column.
Hey the proposal looks pretty good! Here are some notes:
We're going to use paperclip to handle uploading our images and it has an interface to create the proper columns for our models. So we can talk about how to use that in a few days when images come in to play.
You have an array of image_urls for your businesses. If you want to business to have multiple images, there should probably be a table to hold these images and a foreign key to reference the businesses.
Storing lat and lng in your database for your businesses will make integrating with the map a lot simpler in the long run so I think you should ditch the address column.
Your sample state looks really solid. The only thing I would say you should be sure of is that your current user's information is in your state somewhere. You can either put it in the session slice of state or in the general users slice of state but it's gotta be somewhere.
You have a backend endpoint that returns a user's reviews. This is a good thought but you might not end up needing this. I'm assuming if you have a user profile page you would just fetch the reviews at the same time you fetch the rest of the user's information.
^ Same deal with business reviews.
You probably don't need a route to get an individual review because they will be on the business show page.
Overall looks solid though, I'm excited to see how this turns out!