Code Monkey home page Code Monkey logo

jcdecaux-bikes-map's Introduction

JCDecaux Bikes Map

This project aims to display JCDecaux's bikes stations with informations on a map, with a filterable and searchable table.
The project is a Vue js App.
It uses the JCDecaux API and the mapbox mapping solution.

You can select any french JCDecaux contracts as city, see here
To choose , and display contract's stations informations, just set the env variable VUE_APP_JCDECAUX_CITY as the city you aim, like nantes or creteil or toulouse or lyon etc,according to the doc

Project setup

You need to install dependencies:

npm install

The project uses environment variables to work.
To set up environment variables just fill the .env file with your variables:
The environment variables are:

VUE_APP_MAPBOX_TOKEN
VUE_APP_MAPBOX_STYLE
VUE_APP_JCDECAUX_API_KEY
VUE_APP_JCDECAUX_CITY

VUE_APP_MAPBOX_TOKEN is your mapbox token see Mapbox.
VUE_APP_MAPBOX_STYLE is your Mapbox map's style url, see here.
VUE_APP_JCDECAUX_API_KEY is your JCDecaux API key, see JCDecaux dev platform.
VUE_APP_JCDECAUX_CITY is the city you aim, see here it's name is Contract on the dev platform.

Run the app

To run the app:

npm run serve

Build the app

To build the project:

npm run build

This command give you a dist folder.
You are free to host this folder anywhere you want. Mine is hosting on a personal cap rover instance.

Contributing to the project

You are free to submit PR.
I will have a look and get in touch with you.
Please consider to be very detailled in your PR message.

jcdecaux-bikes-map's People

Contributors

clementvp avatar clementvanpeuter avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.