initial file
This commit is contained in:
77
README.md
Normal file
77
README.md
Normal file
@@ -0,0 +1,77 @@
|
||||
# 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:
|
||||
|
||||
```bash
|
||||
cd backend
|
||||
```
|
||||
|
||||
2. Install dependencies:
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
npx prisma migrate dev --name init
|
||||
```
|
||||
|
||||
5. Start the server:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Server runs on `http://localhost:3000`.
|
||||
|
||||
### Frontend
|
||||
|
||||
1. Navigate to the frontend directory:
|
||||
|
||||
```bash
|
||||
cd frontend
|
||||
```
|
||||
|
||||
2. Install dependencies:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
3. Start the development server:
|
||||
|
||||
```bash
|
||||
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).
|
||||
Reference in New Issue
Block a user