Skip to content

Trail Routes - Curated running & hiking trails 南方越野跑路线

License

Notifications You must be signed in to change notification settings

estrm/yi-trail-routes

 
 

Repository files navigation

This repo contains the source code of Trail Routes

Written with Next.js, Typescript, Tailwind CSS, Mapbox GL, Turf.js Parses gpx files and shows them on a map.

Getting Started

First create a mapbox account and get an access token. Add it as NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN to a file called .env.local.

NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

Install dependencies

npm install
# or
yarn

Start the server with

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Troubleshooting

If you get an error like fatal error: 'vips/vips8' file not found you need to install the vips package.

brew install vips

About

Trail Routes - Curated running & hiking trails 南方越野跑路线

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.2%
  • JavaScript 17.2%
  • CSS 1.5%
  • Shell 0.1%