Phase 1: Backend scaffold with Fastify, Prisma, Docker

This commit is contained in:
2026-02-23 15:26:50 +01:00
commit 8ea3279c3b
17 changed files with 3345 additions and 0 deletions

32
.env.example Normal file
View File

@@ -0,0 +1,32 @@
# Server
PORT=3000
HOST=0.0.0.0
DATABASE_URL="file:../data/lck.db"
# JWT
JWT_SECRET=change-me-to-a-random-64-char-string
JWT_ISSUER=lck-control
# Token Encryption
TOKEN_ENCRYPTION_KEY=change-me-to-a-64-hex-char-string-representing-32-bytes
# Meta OAuth
META_APP_ID=your-meta-app-id
META_APP_SECRET=your-meta-app-secret
META_REDIRECT_URI=https://lck.yourdomain.com/auth/meta/callback-redirect
# YouTube OAuth
YOUTUBE_CLIENT_ID=your-google-client-id
YOUTUBE_CLIENT_SECRET=your-google-client-secret
YOUTUBE_REDIRECT_URI=https://lck.yourdomain.com/providers/youtube/callback-redirect
# Twitch OAuth
TWITCH_CLIENT_ID=your-twitch-client-id
TWITCH_CLIENT_SECRET=your-twitch-client-secret
TWITCH_REDIRECT_URI=https://lck.yourdomain.com/providers/twitch/callback-redirect
# App deep link scheme
APP_SCHEME=com.omixlab.lckcontrol
# CORS
CORS_ORIGIN=*