Go to file
2026-04-09 05:19:43 -04:00
client/src/pages/admin first 2026-04-08 13:58:46 -04:00
MCP/duxiter-db-server first 2026-04-08 14:04:41 -04:00
public first 2026-04-08 13:58:46 -04:00
server fixes 2026-04-08 17:02:49 -04:00
social_login_test first 2026-04-08 13:58:46 -04:00
src first 2026-04-08 13:58:46 -04:00
.gitignore first 2026-04-08 14:04:41 -04:00
ALERTING_PAGE_MODIFICATIONS.md first 2026-04-08 13:58:46 -04:00
analyze-socios-script.js first 2026-04-08 13:58:46 -04:00
ARQUITECTURA_PLATAFORMA_DUXITER.md first 2026-04-08 13:58:46 -04:00
CAMBIOS_SISTEMA_RIESGO.md first 2026-04-08 13:58:46 -04:00
CHANGELOG_SEMANAL.md first 2026-04-08 13:58:46 -04:00
CHANGELOG.md first 2026-04-08 13:58:46 -04:00
CHANGES.md first 2026-04-08 13:58:46 -04:00
check_auth.html first 2026-04-08 13:58:46 -04:00
deploy-production.sh first 2026-04-08 13:58:46 -04:00
DOCKER_SERVICES.md first 2026-04-08 13:58:46 -04:00
docker-compose copy 2.yml first 2026-04-08 13:58:46 -04:00
docker-compose copy.yml first 2026-04-08 13:58:46 -04:00
docker-compose.mongo-express.yml first 2026-04-08 13:58:46 -04:00
docker-compose.yml first 2026-04-08 13:58:46 -04:00
DOCUMENTO_TESTS_FRONTEND_ES.md first 2026-04-08 13:58:46 -04:00
DOCUMENTO_TESTS_GUI_FRONTEND_IT.md first 2026-04-08 13:58:46 -04:00
dux_front_int.sh first 2026-04-08 13:58:46 -04:00
eslint.config.js first 2026-04-08 13:58:46 -04:00
fix_auth.html first 2026-04-08 13:58:46 -04:00
git-push-version.sh first 2026-04-08 13:58:46 -04:00
GUIA_TESTS_GUI_MANUAL_ES.md first 2026-04-08 13:58:46 -04:00
index.html first 2026-04-08 13:58:46 -04:00
jest.config.js first 2026-04-08 13:58:46 -04:00
NGINX_PROXY.md first 2026-04-08 13:58:46 -04:00
NOTES.md first 2026-04-08 13:58:46 -04:00
notes.txt first 2026-04-08 13:58:46 -04:00
package-analyzer.json first 2026-04-08 13:58:46 -04:00
package-lock.json first 2026-04-08 13:58:46 -04:00
package.json first 2026-04-08 13:58:46 -04:00
postcss.config.js first 2026-04-08 13:58:46 -04:00
PRODUCTION_DEPLOYMENT.md first 2026-04-08 13:58:46 -04:00
PROJECT_DESCRIPTION_ES.md first 2026-04-08 13:58:46 -04:00
PROJECT_DESCRIPTION.md first 2026-04-08 13:58:46 -04:00
quick-push.sh first 2026-04-08 13:58:46 -04:00
README_test_billing.md first 2026-04-08 13:58:46 -04:00
README-socios-analyzer.md first 2026-04-08 13:58:46 -04:00
README.md first 2026-04-08 13:58:46 -04:00
RISKCALC.md first 2026-04-08 13:58:46 -04:00
setup_all.sh fix setup 2026-04-09 05:19:43 -04:00
setup_docker_mongo_rabbit.sh first 2026-04-08 13:58:46 -04:00
setup_mongo_express.sh first 2026-04-08 13:58:46 -04:00
tailwind.config.js first 2026-04-08 13:58:46 -04:00
TENANT_ACTIVE_CRITERIA.md first 2026-04-08 13:58:46 -04:00
test_environmental_sanctions.csv first 2026-04-08 13:58:46 -04:00
test_sanciones.csv first 2026-04-08 13:58:46 -04:00
test-elasticsearch.sh first 2026-04-08 13:58:46 -04:00
test-env-sanctions-fix.js first 2026-04-08 13:58:46 -04:00
tsconfig.app.json first 2026-04-08 13:58:46 -04:00
tsconfig.json first 2026-04-08 13:58:46 -04:00
tsconfig.node.json first 2026-04-08 13:58:46 -04:00
VERSION_COMPARISON_ES.md first 2026-04-08 13:58:46 -04:00
VERSION_COMPARISON.md first 2026-04-08 13:58:46 -04:00
VERSIONING_SCRIPTS.md first 2026-04-08 13:58:46 -04:00
vite.config.ts first 2026-04-08 13:58:46 -04:00

Duxiter

A comprehensive business evaluation and monitoring platform.

Quick Start

Prerequisites

  • Node.js (v18+)
  • Docker and Docker Compose

Setup

  1. Clone the repository

    git clone <repository-url>
    cd duxiter
    
  2. Start Docker services

    sudo docker-compose up -d
    
  3. Install dependencies

    # Frontend
    npm install
    
    # Backend
    cd server
    npm install
    cd ..
    
  4. Start development servers

    # Frontend (in one terminal)
    npm run dev
    
    # Backend (in another terminal)
    cd server
    npm run dev
    
  5. Access the application

    • Main Application: http://localhost/ (via nginx proxy)
    • RabbitMQ Management: http://localhost/rabbitmq/
    • Health Check: http://localhost/health

Services

Docker Services

This project uses Docker containers for:

  • MongoDB: Database (Port 27017)
  • RabbitMQ: Message broker (Port 5672, Management UI: 15672)

For detailed Docker services documentation, see DOCKER_SERVICES.md

Nginx Proxy

Nginx is configured as a reverse proxy to handle:

  • Frontend: Proxies to Vite dev server (Port 5173)
  • Backend API: Proxies /api/ to Express server (Port 3000)
  • RabbitMQ Management: Proxies /rabbitmq/ to management UI (Port 15672)
  • Health Check: Built-in /health endpoint
  • Static Assets: Optimized caching and compression

Access the application through nginx at http://localhost/

For detailed nginx configuration, see NGINX_PROXY.md

Application Structure

  • Frontend: React + TypeScript + Vite
  • Backend: Node.js + TypeScript + Express
  • Database: MongoDB
  • Message Queue: RabbitMQ

Development

Frontend Development

npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build
npm run lint         # Run ESLint
npm test             # Run tests

Backend Development

cd server
npm run dev          # Start development server
npm run build        # Build TypeScript
npm start            # Start production server

Project Structure

duxiter/
├── src/                 # Frontend source code
│   ├── components/      # React components
│   ├── pages/          # Page components
│   ├── services/       # API services
│   ├── types/          # TypeScript types
│   └── utils/          # Utility functions
├── server/             # Backend source code
│   └── src/           # Server TypeScript source
├── public/            # Static assets
├── tools/             # Development tools
├── MCP/               # MCP server implementation
├── docker-compose.yml # Docker services configuration
└── DOCKER_SERVICES.md # Docker services documentation

Environment Configuration

Create .env files for environment-specific configuration:

Frontend (.env)

VITE_API_URL=http://localhost:3000
VITE_APP_NAME=Duxiter

Backend (server/.env)

PORT=3000
MONGODB_URI=mongodb://admin:password123@localhost:27017/duxiter?authSource=admin
RABBITMQ_URL=amqp://admin:password123@localhost:5672
JWT_SECRET=your-jwt-secret

Documentation

Scripts

  • dux_front.sh - Frontend development script
  • server/dux_server.sh - Backend development script

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

License

[Add your license information here]