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
- Host: GitHub
- URL: https://github.com/msvalandro/justeat
- Owner: msvalandro
- License: mit
- Created: 2022-04-13T00:46:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-14T15:49:23.000Z (about 4 years ago)
- Last Synced: 2025-02-25T20:25:48.749Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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