Skip to content

spujadas/departure-front-end

Repository files navigation

Departure web front end

This repository contains a web front end for the Departure web API server.

Departure web front end - SNCF Montparnasse

This front end Departure supports the following operators:

See the Departure-Python documentation page for instructions on how to install the front end for use with the Departure web API server (departure-web).

Releases

Pre-built releases of the static files (HTML, JavaScript, assets) of the front end can be found in the repository's Releases.

Build

To build the static files yourself, for instance if you want to contribute to the project, first install Node.js and yarn.

Next, install the project's prerequisites:

yarn install

To compile and minify the app for production, run the following command:

yarn build

The bundled app will be located in the dist subdirectory, which you can then expose to the Departure web API server (departure-web).

To automatically rebuild the app when you make a change to the source, you can run:

yarn build --watch

About

Written by Sébastien Pujadas, released under the MIT license, with additional provisions as per below.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this project are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

Powered by TfL Open Data. Contains OS data © Crown copyright and database rights 2016' and Geomni UK Map data © and database rights [2019].

Powered by National Rail Enquiries.