- Set up pnpm workspace with frontend (React + Vite) and backend (Express + Prisma) - Configure TypeScript, ESLint, and Prettier - Add Prisma schema for database models (User, Course, Lesson, Progress, etc.) - Create basic frontend structure with Tailwind CSS and shadcn/ui - Add environment configuration files - Update README with project overview and setup instructions - Complete Phase 0: Project initialization
26 lines
652 B
Plaintext
26 lines
652 B
Plaintext
# Server
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
FRONTEND_URL=http://localhost:5173
|
|
|
|
# Database
|
|
DATABASE_URL="mysql://user:password@192.168.1.74:3306/znakovni"
|
|
|
|
# Session
|
|
SESSION_SECRET=your-super-secret-session-key-change-in-production
|
|
|
|
# OAuth - Google
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_CALLBACK_URL=http://localhost:3000/api/auth/google/callback
|
|
|
|
# OAuth - Microsoft
|
|
MICROSOFT_CLIENT_ID=your-microsoft-client-id
|
|
MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
|
|
MICROSOFT_CALLBACK_URL=http://localhost:3000/api/auth/microsoft/callback
|
|
|
|
# File Upload
|
|
UPLOAD_DIR=./uploads
|
|
MAX_FILE_SIZE=104857600
|
|
|