Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Trace

A Strava-connected activity dashboard that renders your GPS routes as beautiful, minimal maps.

Trace React Node

Overview

Trace connects to your Strava account and renders every activity as a clean GPS route visualization — no base maps, just the pure trace of where you went. Click any activity to expand it into a full-screen detail view with complete performance stats.

Features

  • OAuth connection via Strava — read-only access, your data stays yours
  • Route visualization — GPS traces rendered on dark canvas with layered glow effects
  • Activity detail — click any card to fly it open into a full-screen view
  • Sport-specific stats — pace, power, heart rate, elevation, cadence and more depending on activity type
  • Summary bar — total distance, time, and elevation for any filtered view
  • Sport filters — filter by Run, Ride, Swim, Hike, Walk
  • Imperial units — distance in miles, elevation in feet

Tech Stack

  • Frontend — React + Vite
  • Backend — Node/Express (OAuth token exchange only)
  • Deployment — Vercel

Local Development

Prerequisites

Setup

  1. Clone the repo
git clone https://github.com/ethancooley/trace.git
cd trace
  1. Install dependencies
cd backend && npm install
cd ../frontend && npm install
  1. Configure environment variables
# backend/.env
STRAVA_CLIENT_ID=your_client_id
STRAVA_CLIENT_SECRET=your_client_secret

# frontend/.env
VITE_STRAVA_CLIENT_ID=your_client_id
  1. Run both servers
# Terminal 1
cd backend && node index.js

# Terminal 2
cd frontend && npm run dev
  1. Open http://localhost:5173

Deployment

The backend is deployed as Vercel serverless functions. The frontend is a standard Vite/React build deployed to Vercel.

Add the following environment variables in the Vercel dashboard for both projects:

Variable Description
STRAVA_CLIENT_ID Your Strava API client ID
STRAVA_CLIENT_SECRET Your Strava API client secret (backend only)
VITE_STRAVA_CLIENT_ID Your Strava API client ID (frontend only)

License

MIT

About

Trace — A Strava-connected activity dashboard that renders your GPS routes as beautiful, minimal maps.Trace — A Strava-connected activity dashboard that renders your GPS routes as beautiful, minimal maps.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages