Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.03 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.03 KB

GBFS to GeoJSON parser

This is a small parser to get GBFS data in a nice GeoJSON format for better compatibility. This project has three endpoints :

  • /lime
  • /bolt
  • /dott Each for a micromobility company by the same name.

Note : This project uses Brussels data by default

Technologies used

Node.js to run the server-side JavaScript.

Fastify to manage incoming HTTP requests easily.

Axios to send HTTP requests easily.

Run it yourself

To run this project, you simply need to set up a new Node.js project, get the packages, and modify the provider parameter of the getGBFSData function in server.js to whichever you prefer and create a fastify.get function for each endpoint you'd like to have.

Want to run it on Glitch ?

Glitch is a pretty useful and free website which I used to host this project initially. You can access the project and remix it as you wish here