Features: - React 18 + TypeScript frontend with Vite - Go + Gin backend API - PostgreSQL database - JWT authentication with refresh tokens - User management (admin panel) - Docker containerization - Progress tracking system - 4 economic modules structure Fixed: - Login with username or email - User creation without required email - Database nullable timestamps - API response field naming
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# Contexto del Proyecto - Plataforma de Economía
|
|
|
|
## Objetivo
|
|
Plataforma educativa para aprender economía mediante 4 módulos interactivos con ejercicios.
|
|
|
|
## URLs
|
|
- **Producción**: https://eco.cbcren.online (actualmente no funciona por problema de Caddy)
|
|
- **Temporal**: http://194.163.191.200:3002
|
|
|
|
## Tech Stack
|
|
- **Frontend**: React 18 + TypeScript + Vite + Tailwind CSS
|
|
- **Backend**: Go + Gin
|
|
- **Base de datos**: PostgreSQL
|
|
- **Auth**: JWT
|
|
- **Docker**: Docker Compose
|
|
|
|
## Estructura
|
|
```
|
|
/home/ren/econ/
|
|
├── frontend/ # React app
|
|
├── backend/ # Go API
|
|
├── docker-compose.yml
|
|
├── .env
|
|
└── tofix.md # Problema a resolver
|
|
```
|
|
|
|
## Estado
|
|
- Frontend: ✅ Compila y funciona en puerto 3002
|
|
- Backend: ✅ Compila y funciona en puerto 8080
|
|
- PostgreSQL: ✅ Corriendo en puerto 5433
|
|
- Caddy proxy: ❌ No puede acceder a los contenedores
|
|
|
|
## Credenciales
|
|
- Admin por defecto: `admin@econ.local` / `admin123` (se crea automáticamente)
|
|
|
|
## Archivos importantes
|
|
- `/home/ren/econ/README.md` - Documentación general
|
|
- `/home/ren/econ/TECH_SPECS.md` - Especificaciones técnicas
|
|
- `/home/ren/econ/TODO.md` - Tareas pendientes
|
|
- `/home/ren/econ/tofix.md` - Problema actual
|