Skip to content

A small Vue.js web app that shows your uploaded running stats and distance to a random location.

License

Notifications You must be signed in to change notification settings

vmayce/runner-stats-in-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

runner stats logo

runner-stats-in-vue

This is a simple web app written in Vue that takes a tab delimited text file and shows some basic stats in a fun way to see which US city you could run to and how long it would take based on your running stats.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Libraries Used

Axios

Moment.js

Leaflet

Random-Location

Open Street Map

Improvements to Consider in the Future

Make it More Responsive and Mobile Friendly

If the site is viewed on anything smaller than a desktop view, it gets quite distorted.

Include More Data Points

For the test data, there are many pockets of data missing. If someone is previewing how it looks, it can make it appear broken.

Add in the Reverse Geocaching

One of the options to rever geocache is through Open Street Map, however, they require a custom referer and user agent when requesting the info. This only implements Vue.js in the frontend and would require impelementing a server backend to complete the requests.

Organizing Emitted Events

I was able to use the EventBus to get the emitted events, which works well. However, the events could have been a little more organized. In a larger application I would have implemented Vuex to have better state management.

With such a small app, it didn't mmake sense to use a full blown state management, but keeping the emitted events organized will help in the future if I decide to go a similar route and realize that Vuex would need to be implemented.

Provide Proper Instructions / Formatting for Upload Data

Right now, there's no intructions on what format the data needs to be in. This should be added in the future.

Add in More Activity Options

This could include walking, biking, etc. :)

About

A small Vue.js web app that shows your uploaded running stats and distance to a random location.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published