Code Monkey home page Code Monkey logo

eatery's People

Contributors

dannam83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

eatery's Issues

Review backend

  • DB: reviews
  • model: review
  • controller: reviews
  • views: reviews, review

Search Display

  • style the search bar
  • search should render the next page correctly upon submission
  • search should autofill as typing

Proposal Review

Hey the proposal looks pretty good! Here are some notes:

  1. 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.

  2. 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.

  3. 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.

Search Function

-search should be able to query and pull up the appropriate businesses

Map

learn how to implement a map
-shows in the right place
-shows current location
-shows restaurant location
-calculates distance and time to restaurant

Businesses Backend

DB: businesses
model: business
controller: businesses
views: businesses

Proposal Review

Hey the proposal looks pretty good! Here are some notes:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. ^ Same deal with business reviews.

  7. 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!

Businesses Redux Loop

ajax: fetchBusinesses, fetchBusiness
actions: receiveBusinesses, receiveBusiness
reducer: RECEIVE_BUSINESS, RECEIVE_BUSINESSES

Reviews Navigation

  • smooth navigation
  • user profile has a reviews button that shows all reviews
  • business profile shows all reviews
  • business has a button to submit a review

Businesses smooth bug free navigation

  • search should properly show results
  • business profile page has all correct information
  • user should be able to sign in, and then search for a business

Reviews redux loop

  • ajax: fetchReviews(bizId), fetchReviews(authorId)
  • actions: receiveReviews, receiveReview
  • reducer: RECEIVE_REVIEWS, RECEIVE_REVIEW

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.