Giter VIP home page Giter VIP logo

gobike's Introduction

GoBike app

Run it locally

Run further commands :

  • git clone this repos
  • bundle install
  • rails db:create db:migrate
  • docker-compose -up
  • sidekiq
  • rails server

Instructions

Exercise gave by Denis Pasin ZARATAN during THP-NEXT training programme (The Hacking Project).

--> Rails App which evaluate the 5 vélib's closest stations from THP offices and free bikes available.

Pay attention to app optimization and so to :

  • tests

  • not to update all the database at each request to the API

  • optimize time for user

  • bonus: refresh button which refresh datas without page charging.

  • extra bonus: starting point adress specifing available.

Use of

  • API url : http://api.citybik.es/v2/
  • Docker/Docker-compose
  • Husky (pre-commit, pre-push)
  • Rspec
  • Rubocop (relaxed-rubocop)
  • Sidekiq / Redis for background jobs
  • Gemset
  • Heroku for production app

Only one branch and no use of circle CI because this app is developped just by me for training, no team issues.

To do / Working on progress

  • Make the search from adress (geocoder gem ?)
  • Tests to perform deeply and add of simplecov gem
  • Button for data refreshing without charging page (AJAX)
  • Map display (Leaflets and Mpabox)
  • Change distance calculation with Haversine formula to real route evaluation
  • Extend use for every town services of http://api.citybik.es/v2/
  • Time data post processing (KPI)
  • Add meteo API (openweathermap : https://openweathermap.org/)

Thanks to

Thanks to http://api.citybik.es for open datas

gobike's People

Contributors

redcozmo 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.