Sincronización completa desde michangarrito/apps/backend

Actualización de código al estado actual

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rckrdmrd 2026-01-16 08:26:30 -06:00
parent 59e6ea4ab6
commit d624447d4c
3 changed files with 33 additions and 7 deletions

33
.env Normal file
View File

@ -0,0 +1,33 @@
# MiChangarrito Backend - Environment Variables
NODE_ENV=development
# Server
PORT=3141
API_PREFIX=api/v1
# Database
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=michangarrito_dev
DB_PASSWORD=MCh_dev_2025_secure
DB_DATABASE=michangarrito_dev
DB_SCHEMA=public
# JWT
JWT_SECRET=MCh_jwt_dev_2025_AcB7x9KmPq2sWfHg4jL8nRt0vYzXw1CdEiFoGhJkLmN3pQrSuVxY5bZ6aBeC8fDg
JWT_EXPIRES_IN=7d
# CORS
CORS_ORIGIN=http://localhost:3140
# Logging
LOG_LEVEL=debug
# Stripe (Monetization)
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PUBLISHABLE_KEY=
# LLM / AI (for token consumption)
OPENAI_API_KEY=
LLM_MODEL=gpt-4o-mini

4
.gitignore vendored
View File

@ -1,4 +0,0 @@
node_modules/
dist/
coverage/
.env

View File

@ -1,3 +0,0 @@
# michangarrito-backend-v2
Backend de michangarrito - Workspace V2