Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c20chin/jet-restaurant-finder
An application that fetches restaurant data from API and send back to app.
https://github.com/c20chin/jet-restaurant-finder
Last synced: 8 days ago
JSON representation
An application that fetches restaurant data from API and send back to app.
- Host: GitHub
- URL: https://github.com/c20chin/jet-restaurant-finder
- Owner: c20chin
- License: mit
- Created: 2024-04-16T15:19:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-18T21:36:07.000Z (9 months ago)
- Last Synced: 2024-11-10T14:09:49.264Z (2 months ago)
- Language: JavaScript
- Homepage: https://celebrated-shortbread-42672f.netlify.app/
- Size: 1.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JET Restaurant Finder
JET Restaurant Finder is a React app that fetches restaurant details based on the user's input postcode. The application uses a JustEat API to obtain restaurant data.
## Demo
![ScreenRecording2024-04-18at15 53 22-ezgif com-video-to-gif-converter](https://github.com/c20chin/JET-Restaurant-Finder/assets/60973182/6f32d560-fea5-4b38-baeb-547ea8acddc1)
## Run on my free deployed website (performance may be delayed due to inactive use)
[https://celebrated-shortbread-42672f.netlify.app/](https://celebrated-shortbread-42672f.netlify.app/)## Run on your local machine
Download this repository and follow these 3 steps to start the application:
1. Open the terminal window and navigate to JET-Restaurant-Finder folder.
2. Start the server
```bash
# Navigate to server folder
cd servernpm install
npm run start
```
3. Open another terminal window. Start the React App
```bash
# Navigate to frontend folder 'restaurant-finder'
cd restaurant-findernpm install
npm run start
```## Improvements & Next Steps
### 1. Performance:
Enhance data fetching performance by implementing lazy load or pagination if the data load becomes bigger.
### 2. Error input cases:
When a user enters inputs which return nothing, eg. non-existing postcode or special characters, the app should alert the user.## License
[MIT](https://choosealicense.com/licenses/mit/)