An open API service indexing awesome lists of open source software.

https://github.com/alexdisdier/deliveroo

Deliveroo copycat built with ReactJS
https://github.com/alexdisdier/deliveroo

circleci codecov cypress enzyme hooks-api-react javascript react reactjs redux

Last synced: 3 months ago
JSON representation

Deliveroo copycat built with ReactJS

Awesome Lists containing this project

README

        

[![CircleCI](https://circleci.com/gh/alexdisdier/deliveroo.svg?style=svg)](https://circleci.com/gh/alexdisdier/deliveroo)
[![codecov](https://codecov.io/gh/alexdisdier/deliveroo/branch/master/graph/badge.svg)](https://codecov.io/gh/alexdisdier/deliveroo)

# Desktop



   deliveroo copycat alex disdier

# Mobile Responsive



   deliveroo copycat alex disdier

# Synopsis

This is a clone of the Deliveroo website (for the restaurant Pain Quotidien) built with React. All rights reserved to Deliveroo & Roofoods Limited.

You will find three branches:

- **master** optimized version using react hooks, unit and integration testing
- **initial** original version using class components
- **redux** using redux and hooks

## Usage example

See demo - https://alexdisdier.github.io/deliveroo/

## ✅ Functionalities

- Add and remove a meal to the basket.
- Change the quantity of a meal either by clicking on a card or within the basket
- Add a tip
- Mobile responsive

## Running the project

Clone this repository :

```bash
git clone https://github.com/alexdisdier/deliveroo.git

cd deliveroo
```

```bash
npm install
```

Start the server:

```bash
npm start
```

Build the project

```bash
npm run build
```

## Testing

Unit test

```bash
npm run test
```

End-to-end

```bash
npm run cy
```

## Built With

- html
- css
- [JavaScript](https://developer.mozilla.org/bm/docs/Web/JavaScript)
- [React.js](https://reactjs.org/docs/hello-world.html)
- [Create React App](https://facebook.github.io/create-react-app/docs/getting-started)
- [cypress](https://www.cypress.io/)

## Acknowledgments

- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
- I used a component for animating vertical scrolling called [React Scroll](https://www.npmjs.com/package/react-scroll)
- Deploy React to github pages [codeburst](https://codeburst.io/deploy-react-to-github-pages-to-create-an-amazing-website-42d8b09cd4d)