What is “Where?”
Where? is a travel roulette app that randomly selects a destination for the user. The app will suggests a few activities to do in that location. Once the origin airport is provided, flight information will be provided.
What are the ingredients?
- NextJs | Typescript - React Framework
- Framer Motion - Animation
- Jotai - Global state management
- OpenAi - Activities suggestion
The making of “Where?”
You can watch part of the making of this app.
What else can we add to this app?
To further improve the app, several features could be added.
Below are some example:
- Add
tryandcatchwhen fetching from OpenAI. If there are any errors, display it to the user. For instance, if your api token expired or OpenAI didn’t send back the data in the right format, it should ask the user to try again. - Add automatic retry. If the internet connection goes down in between requests. The app will retry the requests.
- Provide interfaces for the user to select their own travel dates and actually pay for the flight with the duffel api.
Source code: https://github.com/Mingeee/travel-roulette
Top comments (0)