Recreating the departure boards for the London Underground.
View Site
I created this to play around with Redux Query for fetching the data, and learn that for a work project.
I wanted to test RTK Query's ability to generate hooks based on an openApi schema.
Room for future improvements with handling the errors from RTK but a good intro into what was on offer with automated refetching and polling.
Possible future work:
- Add debounce to station search (easy)
- Utilize RTK Mutations for the incoming data
- Fix timezone issues (easy)
To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone https://github.com/jolbol1/jolbol1.github.io.git
- Install NPM packages
pnpm install
- Spin it up!
pnpm run dev
Distributed under the MIT License. See LICENSE.txt
for more information.
Your Name - @JollyShopland - [email protected]
Project Link: https://github.com/jolbol1/tfl-board