Skip to content

alecf/pathforge

Repository files navigation

PathForge

This is a T3 Stack project bootstrapped with create-t3-app and configured for authentication with Strava.

Environment Variables

Create a .env file in the root directory with the following variables (all are required):

# Database
DATABASE_URL="postgresql://username:password@localhost:5432/pathforge"

# NextAuth
AUTH_SECRET="your-auth-secret-here"

# Strava OAuth (required)
STRAVA_CLIENT_ID="your-strava-client-id"
STRAVA_CLIENT_SECRET="your-strava-client-secret"

OAuth Setup (Strava)

  1. Go to Strava API Settings
  2. Create a new application
  3. Set the Authorization Callback Domain to localhost:9300 for development
  4. Copy the Client ID and Client Secret to your .env file

What's next? How do I make an app with this?

We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.

If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

How do I deploy this?

Follow our deployment guides for Vercel, Netlify and Docker for more information.

About

Generates terrain based on GPX routes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published