This project is the react frontend of the 'Catch the train' web application. The backend project is also on github: https://github.com/JulienRobberechts/catch-the-train-server.
The application Catch the train in production: https://catch-the-train.dev-app.space (if deployed)
How many times did you get to the station only to miss the train by 1 minute? Never again with this handy application!
It will help you catch your train by indicating the best time to set off, based on the duration of your journey to the station and the live departure board. You can even plan time for a coffee!
This application only works on RER A in Paris France for now. (more train lines will be added in future versions).
npm i
To start the application locally for dev or test:
npm start
To run tests:
npm test
- Open a browser at: 'http://localhost:3025/'.
You can create an .env.development.local file at the root to override the .env values with those values:
PORT=3025
REACT_APP_SERVER_ROOT_URL=http://localhost:3034
REACT_APP_MOCK_TIME=false
REACT_APP_DISABLE_TIME_UPDATE=true
REACT_APP_MAPBOX_ACCESS_TOKEN=XXXXXXXXXXXXXXXXXXX
Instructions for the deployment of the front-end on AWS S3 + TLS + CDN
https://www.horaires-de-trains.fr/prochains-departs-Saint_Germain_En_Laye.html