Skip to content

Search London Public Transport using PostCode. With search History, save bookmark features. Using React-Leaflet.

Notifications You must be signed in to change notification settings

catlirex/LondonTransportApp-TFL-Refactor

Repository files navigation

LondonTransportApp-TFL-Refactor

This App is searching London Public Transport(TFL) using PostCode. With search History, user login, save bookmark features.
Using the Transport API fetch to get instance data.

A json data base is used to store user account and view history.
Style using material-ui and styled-components library.
PostCode vilidataion with uk-postcode-validator

This project build with:

  • React
  • React-Leaflet
  • Typescript

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

npm i

Run the app

Start the local server for the user database

json-server --watch db/db.json -p 4000

Then start the app with the command

npm run dev

ScreenCap

HomePage image

Search (Implement React Model in search, login, create bookmark)

image

Search Result

image

Path detail

image

Click on the map icon of each card, can zoom to detail image

Login user function

user can save journey(re-fetch) / bookmark(auto fill search form) image

About

Search London Public Transport using PostCode. With search History, save bookmark features. Using React-Leaflet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published