Follow this Video guide
Implement Uber eats using this design
Base API url: https://mate-uber-eats-api.herokuapp.com/api/v1/
- Implement list of restaurants on the
Homepage
- use
reduxto store data - use
redux-thunkto 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
- accept optional query parameter
RestaurantCardshould be clickable fully (not only the image)
- Implement basic header markup
- Implement footer
- Add functionality and styles for mobile and tablet versions
Location,Deliver nowandSearchshould be replaced whith buttons on the small screens. Block with inputs should apper below the header after click on the button.
- Implement
RestaurantPage- use
uuidin the URL - fetch data from https://mate-uber-eats-api.herokuapp.com/api/v1/restaurants/:uuid
- use
- Implement modal window for selecting a meal
- open it when clicking on a meal
- close it on
Xor after adding - (*) close it on outside click
- (**) use a unique link for a modal
- Implement location autocomplete
- Implement search autocomplete
- Implement
delivery timeselection - Implement a
Basket
- Fork the repository with task
- Clone forked repository
git clone git@github.com:<user_name>/<task_repository>.git
- Run
npm installto install dependencies. - Then develop
- Run
npm startto start development server onhttp://localhost:3000When 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 lintto check code style - When you finished add correct
homepagetopackage.jsonand runnpm 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 Requestfrom forked repo(<branch_name>)to original repo (master). - Add a link at
PRto Google Spreadsheets.
You should be writing your code in src/ directory.
-DEMO