Skip to content

td/run-tracker

Repository files navigation

RunTracker

PD Coding Challenge

This is a run tracking app which allows users to create an account, input their running data and view their running history along with calculated calories burned on those runs.

After deployment you can login with a seeded user, the details are:

Main libraries

  • Ruby 2.6.3p62
  • Rails 6.1.1
  • Devise 4.7.3

Deployment

  1. Download / Pull repo git clone git@github.com:td/run-tracker.git run-tracker
  2. Navigate into the project cd run-tracker
  3. Run package installer bundler install
  4. Create DB and Migrate rails db:create && rails db:migrate && rails db:seed
  5. Install Webpacker rails webpacker:install select n on overwrite prompt
  6. Launch server rails server
  7. Goto localhost:3000

Re-calculate existing data

From the project folder, run rails runner "Activity.updateCaloriesBurned"

Testing

rails test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages