A web application for runners to plan their routes ahead of running. Place markers on a map to design your route, visualize elevation changes, and export your planned route as a GPX file.
- Next.js with React and Tailwind CSS
- Mapbox for interactive maps
- Recharts for elevation visualizations
- Node.js v22+
- Node.js v22 or higher
- pnpm (or npm/yarn)
- A Mapbox API key
- Clone the repository:
git clone git@github.com:bendiksolheim/soneto.git
cd soneto- Install dependencies:
pnpm install- Set up environment variables:
Create a .env.local file in the root directory and add your Mapbox access token:
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_mapbox_token_hereTo get a Mapbox access token, follow the Mapbox documentation on creating access tokens.
- Start the development server:
pnpm devThe application will be available at http://localhost:3000.
pnpm dev- Start the development serverpnpm supabase- Start local Supabase instancepnpm build- Build the production versionpnpm lint- Run ESLint to check code style