You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PackedGo es una plataforma de gestión de eventos desarrollada con arquitectura de microservicios que permite a organizadores crear eventos, vender tickets, gestionar consumiciones y analizar métricas en tiempo real.
¿Por qué este proyecto?
✅ Escalabilidad: Cada microservicio puede escalar independientemente
✅ Mantenibilidad: Código modular, fácil de entender y extender
✅ Resiliencia: Fallo en un servicio no afecta a los demás
✅ Moderno: Spring Boot 3.5 + Angular 19 + Java 17
✅ Patterns: Implementa Transactional Outbox Pattern para consistencia eventual
# 1. Clonar el repositorio
git clone https://github.com/tu-usuario/packed-go.git
cd packed-go/app
# 2. Configurar variables de entornocd back
cp auth-service/.env.example auth-service/.env
# Editar .env con tus credenciales# 3. Iniciar infraestructura (PostgreSQL + RabbitMQ)
docker-compose up -d postgres-central rabbitmq
# 4. Compilar todos los serviciosfordirin auth-service users-service event-service order-service payment-service analytics-service api-gateway;docd$dir&& mvn clean package -DskipTests &&cd ..
done# 5. Iniciar todos los servicios
docker-compose up -d
# 6. Instalar y ejecutar frontendcd ../front-angular
npm install
npm start
Verificar que todo funciona
# Health checks
curl http://localhost:8080/actuator/health # API Gateway
curl http://localhost:8081/actuator/health # Auth Service
curl http://localhost:8082/actuator/health # Users Service
curl http://localhost:8086/actuator/health # Event Service
curl http://localhost:8084/actuator/health # Order Service
curl http://localhost:8085/actuator/health # Payment Service
curl http://localhost:8087/actuator/health # Analytics Service# Test endpoint público
curl http://localhost:8080/api/events
⚙️ Configuración
Variables de Entorno Requeridas
# JWT (generar una clave segura para producción)JWT_SECRET=your-super-secret-key-change-in-production# Stripe (obtener de https://dashboard.stripe.com/test/apikeys)STRIPE_API_KEY=sk_test_your_stripe_keySTRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret# FrontendFRONTEND_URL=http://localhost:3000