Built via Cursor with Next.js, TypeScript, and Tailwind CSS. The site displays my latest activities from Strava and recently played tracks from Spotify.
- Real-time Strava activity feed
- Spotify recently played tracks
- TypeScript for type safety
- Next.js 14
- TypeScript
- Tailwind CSS
- Strava API
- Spotify API
- Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-name
- Install dependencies:
npm install
- Create a
.env.local
file in the root directory with the following variables:
STRAVA_CLIENT_ID=your_strava_client_id
STRAVA_CLIENT_SECRET=your_strava_client_secret
STRAVA_REFRESH_TOKEN=your_strava_refresh_token
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
SPOTIFY_REFRESH_TOKEN=your_spotify_refresh_token
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
This site is deployed on Vercel. To deploy your own instance:
- Push your code to GitHub
- Connect your repository to Vercel
- Add your environment variables in the Vercel dashboard
- Deploy!
MIT