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

https://github.com/msvalandro/justeat

This is a web app built with React.js, styled-components and axios
https://github.com/msvalandro/justeat

Last synced: about 1 month ago
JSON representation

This is a web app built with React.js, styled-components and axios

Awesome Lists containing this project

README

          

# 🍕 justeat

This is a web app built with React.js, styled-components and axios.

> :warning: Just Eat API (https://uk.api.just-eat.io/) has a CORS configuration that doesn't allow requests from localhost. So to bypass it I'm using cors-anywhere (https://github.com/Rob--W/cors-anywhere) that is a proxy to add CORS headers to requests.

To run this application you'll first need to access https://cors-anywhere.herokuapp.com/https://uk.api.just-eat.io and confirm the button so the requests can work normally.

## 👾 Running

```sh
# using yarn

# install dependencies
yarn
# run app
yarn start
# run tests
yarn test

# using npm

# install dependencies
npm install
# run app
npm start
# run tests
npm run test
```

## 💻 Environment

- Node.js v14.19.0

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details