Skip to content

igaryok/react_uber-eats

 
 

Repository files navigation

React Uber Eats

Task

Follow this Video guide

Implement Uber eats using this design

Base API url: https://mate-uber-eats-api.herokuapp.com/api/v1/

  1. Implement list of restaurants on the Home page
  • use redux to store data
  • use redux-thunk to handle async actions
  • create separate component for restaurant card
  • use https://mate-uber-eats-api.herokuapp.com/api/v1/restaurants endpoint to fetch data
    • accept optional query parameter location: london|kyiv
  • RestaurantCard should be clickable fully (not only the image)
  1. Implement basic header markup
  2. Implement footer
  3. Add functionality and styles for mobile and tablet versions
    • Location, Deliver now and Search should be replaced whith buttons on the small screens. Block with inputs should apper below the header after click on the button.
  4. Implement RestaurantPage
  5. Implement modal window for selecting a meal
    • open it when clicking on a meal
    • close it on X or after adding
    • (*) close it on outside click
    • (**) use a unique link for a modal

Extra Tasks

  1. Implement location autocomplete
  2. Implement search autocomplete
  3. Implement delivery time selection
  4. Implement a Basket

Workflow

  • Fork the repository with task
  • Clone forked repository
    git clone git@github.com:<user_name>/<task_repository>.git
  • Run npm install to install dependencies.
  • Then develop

Development mode

  • Run npm start to start development server on http://localhost:3000 When you run server the command line window will no longer be available for writing commands until you stop server (ctrl + c). All other commands you need to run in new command line window.
  • Follow HTML, CSS styleguide
  • Follow the simplified JS styleguide
  • run npm run lint to check code style
  • When you finished add correct homepage to package.json and run npm run deploy
  • Add links to your demo in readme.md.
    • [DEMO LINK](https://<your_account>.github.io/<repo_name>/) - this will be a link to your index.html
  • Commit and push all recent changes.
  • Create Pull Request from forked repo (<branch_name>) to original repo (master).
  • Add a link at PR to Google Spreadsheets.

Project structure

You should be writing your code in src/ directory.

-DEMO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.3%
  • CSS 30.5%
  • HTML 1.2%