Initialize both Nuxt 3 frontends (SBA and PD) with full configuration: Frontend Setup: - Initialized Nuxt 3 projects for both leagues (SBA and PD) - Installed dependencies: Tailwind CSS, Pinia, Socket.io-client, Axios - Configured league-specific settings in nuxt.config.ts - Created WebSocket plugins for real-time communication - Set up TypeScript with strict mode and type checking - Configured Tailwind CSS for styling Backend Updates: - Updated database models documentation in backend/CLAUDE.md - Enhanced db_models.py with additional relationship patterns Documentation: - Updated Phase 1 completion checklist (12/12 items - 100% complete) - Marked all infrastructure objectives as complete Running Services: - Backend (FastAPI + Socket.io): http://localhost:8000 - Frontend SBA: http://localhost:3000 - Frontend PD: http://localhost:3001 - Redis: port 6379 - PostgreSQL: Connected to remote server Phase 1 is now complete. Ready to proceed to Phase 2 (Game Engine Core). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
659 B
TypeScript
24 lines
659 B
TypeScript
export default defineNuxtConfig({
|
|
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
leagueId: 'sba',
|
|
leagueName: 'Super Baseball Alliance',
|
|
apiUrl: process.env.NUXT_PUBLIC_API_URL || 'http://localhost:8000',
|
|
wsUrl: process.env.NUXT_PUBLIC_WS_URL || 'http://localhost:8000',
|
|
discordClientId: process.env.NUXT_PUBLIC_DISCORD_CLIENT_ID || '',
|
|
discordRedirectUri: process.env.NUXT_PUBLIC_DISCORD_REDIRECT_URI || 'http://localhost:3000/auth/callback',
|
|
}
|
|
},
|
|
|
|
compatibilityDate: '2025-07-15',
|
|
|
|
devtools: { enabled: true },
|
|
|
|
typescript: {
|
|
strict: true,
|
|
typeCheck: true
|
|
}
|
|
})
|