/whereDoIRun

Primary LanguageJavaScriptMIT LicenseMIT

whereDoIRun

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

WhereDoIRun

A web application that shows stats on where you run.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Rewriting as TypeScript, work in progress.

WhereDoIRun

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Strava account
  • For developing, you would need a strava application and tokens - here how to get it

Installation

  1. Clone the repo
    git clone https://github.com/STASYA00/whereDoIRun.git

(back to top)

Usage

  • Log in to Strava and provide the access to your running activity data.
  • Choose the running area, the statistics of which you are interested in
  • Explore the statistics!

(back to top)

Current limitations

Limitations:

  • Application does not support the areas that are not mapped on OpenStreetMap

Roadmap

  • Percentage of a geographical area covered by runs (streets mapped on OSM)
  • Two types of maps: binary (run / not run) and where a person runs most
  • Caching the activity and the geo data, to ease the load on OSM and strava
  • CSS for styles
  • Dynamic website version
  • Mobile app version
  • Different color styles for the app and graphics
  • Timeline to show how the territory discovery changes
  • An option to upload local activity files without using strava
  • an option to connect to the other running apps
  • rewrite as typescript
  • reactjs
  • add fonts

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

(back to top)

License

MIT License.

(back to top)

Contact

Stasja Fedorova (Developer) - @linkedin_shield - 0.0stasya@gmail.com

Emil Lindstedt (UI / UX Designer) - @linkedin_shield - emil.lindstedt@hm.com

Project Link: https://github.com/STASYA00/whereDoIRun

(back to top)

Acknowledgments and credits

(back to top)

Development notes

if you are getting FetchError: request to [YOUR_URL_REQUEST] failed, reason: unable to get local issuer certificate try: $ npm config set strict-ssl false

if 127.0.0.1:3000 works with http but not with express, try localhost:3000 instead.

if the runs are not coherent with the map, the issue probably lies in backslashes. They should be double in the encoded string.

to compile the Typescript files: tsc --module system --out main.js main.ts && cp main.js ../js

TODO:

  • define a standard for lat-lon
  • when there is a registered token and user clicks on the connect button again -> confirm dialog -> remove the token (?)
  • if after connect the user chooses not to log in or does not grant the permissions -> warning dialog: app can not function without the login and permission grant