Gestor Financiero runs entirely on your local machine for development — no cloud accounts, no external database, and no Docker required. The backend starts a FastAPI server on port 8000, and the Vite-powered frontend runs on port 5173. SQLite handles data storage automatically, so you can go from a fresh clone to a running application in just a few steps.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JDzuu/AplicativoWEB_GestorFinanciero/llms.txt
Use this file to discover all available pages before exploring further.
SQLite is used automatically when the
DATABASE_URL environment variable is not set. The database file is created at backend/data/proyectos.db the first time the server starts. You do not need to install or configure any database software for local development.Configure the environment
Copy the provided example file to create your local The file looks like this with all available options:For local development the defaults are fine. You can optionally pre-set
.env:ADMIN_PASSWORD to a value you choose; if you leave it blank a secure random password will be generated and printed to the console on first startup.Set up the backend
Open a terminal and navigate to the Activate the virtual environment:Install the Python dependencies:The
Start the development server:The
backend/ directory:- Windows
- Linux / macOS
requirements.txt installs:| Package | Purpose |
|---|---|
fastapi | Web framework and routing |
uvicorn | ASGI server |
python-dotenv | Loads .env into the environment |
pwdlib[argon2] | Argon2id password hashing |
slowapi | Rate limiting per IP |
reportlab | PDF generation for quotes and project closures |
psycopg[binary,pool] | PostgreSQL driver (not used with SQLite) |
--reload flag restarts the server automatically whenever you change a source file.Set up the frontend
Open a second terminal and navigate to the Vite will start the development server. The frontend is configured to run on port
frontend/ directory:5173 via vite.config.js and communicate with the backend at the URL set in VITE_API_URL.Access the application
With both servers running, open your browser:
| Service | URL |
|---|---|
| Frontend (React / Vite) | http://localhost:5173 |
| Backend API | http://localhost:8000 |
| Interactive API docs (Swagger) | http://localhost:8000/docs |
| Alternative API docs (ReDoc) | http://localhost:8000/redoc |
The
/docs, /redoc, and /openapi.json endpoints are only available when ENTORNO=desarrollo. They are hidden in production.First login
On the very first startup — when the database is empty — the backend automatically creates an initial administrator account using the values from your Use those credentials on the login screen at http://localhost:5173.
.env. If ADMIN_PASSWORD was left blank, a cryptographically random password is generated and printed once to the terminal: