Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .biomeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Archivos y carpetas que Biome debe ignorar

# (adicionales a los del .gitignore que ya respeta automáticamente)

# Build outputs

dist/
build/
.next/
out/

# Dependencies

node_modules/
.pnp/
.pnp.js

# Testing

coverage/
.nyc_output/

# Database & migrations

drizzle/
migrations/

# Logs

\*.log
logs/

# Environment files

.env
.env.local
.env.\*.local

# Editor

.vscode/
.idea/
_.swp
_.swo

# OS

.DS_Store
Thumbs.db

# Observability configs

observability/

# Generated files

**/\*.generated.ts
**/\*.generated.js
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
npm-debug.log
dist
.git
.gitignore
.env
.vscode
.idea
*.md
35 changes: 35 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Environment Variables
# Copy this file to .env and update with your values

# Database
TRANSACTION_DB_URL=postgresql://postgres:postgres@localhost:5432/postgres
ANTIFRAUD_DB_URL=postgresql://postgres:postgres@localhost:5432/postgres

# Kafka
KAFKA_BROKER=localhost:9092

# Services
PORT=3000
ANTI_FRAUD_PORT=3001

# Application
SERVICE_NAME=transaction-service
SERVICE_VERSION=1.0.0
NODE_ENV=development

# Redis (optional)
REDIS_URL=redis://localhost:6379

# OpenTelemetry
# Para Docker usar: http://tempo:4318
# Para ejecución local usar: http://localhost:4318
OTEL_ENABLED=true
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
OTEL_SAMPLING_RATIO=1.0

# Logging
LOG_LEVEL=info

# Sentry (optional)
SENTRY_ENABLED=false
SENTRY_DSN=
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ typings/
# dotenv environment variables file
.env
.env.test
docker/.env

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down Expand Up @@ -102,3 +103,15 @@ dist

# TernJS port file
.tern-port

# Drizzle
drizzle/

# IDE
.vscode/
.idea/

# AI Tools
.claude/
.cursor/
.ai/
Loading