This is a T3 Stack project bootstrapped with create-t3-app and configured for authentication with Strava.
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"- Go to Strava API Settings
- Create a new application
- Set the Authorization Callback Domain to
localhost:9300for development - Copy the Client ID and Client Secret to your
.envfile
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.
To learn more about the T3 Stack, take a look at the following resources:
- Documentation
- Learn the T3 Stack — Check out these awesome tutorials
You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!
Follow our deployment guides for Vercel, Netlify and Docker for more information.