Files
GPI/README.md
2026-03-12 19:15:05 +00:00

1.4 KiB

Gestor de Pintura Industrial (GPI)

Modern Full-Stack Application for managing industrial painting projects.

Tech Stack

  • Backend: Node.js, Express, Prisma, PostgreSQL.
  • Frontend: React (Vite), Tailwind CSS, TypeScript.

Prerequisites

  • Node.js (v18+)
  • PostgreSQL (running locally or via Docker)

Setup

Backend

  1. Navigate to the backend directory:

    cd backend
    
  2. Install dependencies:

    npm install
    
  3. Configure Environment Variables:

    • Copy .env.example (or create .env)
    • Set DATABASE_URL="postgresql://user:password@localhost:5432/gpidb?schema=public"
  4. Run Migrations:

    npx prisma migrate dev --name init
    
  5. Start the server:

    npm run dev
    

    Server runs on http://localhost:3000.

Frontend

  1. Navigate to the frontend directory:

    cd frontend
    
  2. Install dependencies:

    npm install
    
  3. Start the development server:

    npm run dev
    

    App runs on http://localhost:5173.

Features

  • Projects: Create and manage painting projects.
  • Geometry: Register parts with dimensions, area, and complexity.
  • Painting Schemes: Define paint systems (Primer, Intermediate, Finish).
  • Application Control: Log daily painting activities (Wet/Dry thickness calculation).
  • Inspection: Record quality control inspections (EPS, Adhesion, Appearance).