A Next.js application that integrates with Strava's API to display and analyze your activities.
- OAuth2 authentication with Strava
- Some cool stuff soon..
- Node.js 18+
- A Strava account
- Strava API credentials (Client ID and Client Secret)
- Clone the repository:
git clone https://github.com/yourusername/stravatools.git
cd stravatools- Install dependencies:
npm install
# or
yarn install- Create a
.envfile based on.env.exampleand fill in your credentials:
cp .env.example .env- Run the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 with your browser to see the result.
Required environment variables are:
STRAVA_CLIENT_ID: Your Strava API application client IDSTRAVA_CLIENT_SECRET: Your Strava API application client secretNEXTAUTH_SECRET: A random string used to hash tokensNEXTAUTH_URL: Your application's URL (http://localhost:3000 for development)
MIT