taxia-sitioweb

πŸš– TaxiA-CIMCO – Plataforma de Movilidad

Este proyecto es una plataforma de movilidad integral que conecta pasajeros con distintos tipos de conductores: mototaxi, motoparrillero, motocarga, intermunicipal, despachadores y panel de CEO.
EstΓ‘ construido sobre Firebase (backend serverless) y un frontend web progresivo (PWA), integrando API de WhatsApp Business para notificaciones en tiempo real.


πŸ“‚ Estructura del proyecto

ProyectosCIMCO/ β”œβ”€β”€ functions/ # Backend (Firebase Cloud Functions) β”‚ β”œβ”€β”€ index.js # LΓ³gica principal de backend β”‚ β”œβ”€β”€ package.json # Dependencias backend β”‚ β”œβ”€β”€ serviceAccountKey.json # πŸ”’ Claves privadas (NO se sube a GitHub) β”‚ └── … β”‚ β”œβ”€β”€ frontend/ # AplicaciΓ³n web (PWA) β”‚ β”œβ”€β”€ public/ # Archivos HTML y estΓ‘ticos β”‚ β”‚ β”œβ”€β”€ pasajero.html β”‚ β”‚ β”œβ”€β”€ mototaxi.html β”‚ β”‚ β”œβ”€β”€ motoparrillero.html β”‚ β”‚ β”œβ”€β”€ motocarga.html β”‚ β”‚ β”œβ”€β”€ intermunicipal.html β”‚ β”‚ β”œβ”€β”€ despachadorinter.html β”‚ β”‚ β”œβ”€β”€ ceo-panel.html β”‚ β”‚ β”œβ”€β”€ paginaweb.html β”‚ β”‚ β”œβ”€β”€ panel-credito.html β”‚ β”‚ β”œβ”€β”€ panel-whatsapp.html β”‚ β”‚ β”œβ”€β”€ qr-generador.html β”‚ β”‚ β”œβ”€β”€ manifest.json β”‚ β”‚ └── service-worker.js β”‚ └── … β”‚ β”œβ”€β”€ database/ # Reglas y configuraciΓ³n de Firestore β”‚ β”œβ”€β”€ firestore.rules β”‚ β”œβ”€β”€ firestore.indexes.json β”‚ β”œβ”€β”€ scripts/ # Scripts de automatizaciΓ³n β”‚ β”œβ”€β”€ check-env.ps1 # βœ… Verifica entorno (Java, Node, NPM, Firebase) β”‚ β”œβ”€β”€ check-firebase.ps1 # βœ… (opcional) Test de emulador y backend β”‚ β”œβ”€β”€ iniciar-frontend.ps1 # πŸš€ Levanta el frontend en local β”‚ └── iniciar_cimco.bat # πŸš€ Launcher para Windows β”‚ β”œβ”€β”€ firebase.json # ConfiguraciΓ³n de Firebase Hosting & Functions β”œβ”€β”€ .firebaserc # Proyecto de Firebase activo β”œβ”€β”€ .gitignore # Ignora claves, node_modules y archivos sensibles └── README.md # DocumentaciΓ³n del proyecto


πŸ› οΈ TecnologΓ­as utilizadas


πŸš€ InstalaciΓ³n y configuraciΓ³n

1. Clonar el repositorio

```bash git clone https://github.com/carlosmario57/taxia-sitioweb.git cd taxia-sitioweb