|
|
4 months ago | |
|---|---|---|
| backend | 4 months ago | |
| frontend | 4 months ago | |
| .env.example | 4 months ago | |
| .gitignore | 4 months ago | |
| README.md | 4 months ago | |
| docker-compose.yml | 4 months ago |
Application web de gestion locative : encaissement des loyers, suivi des charges, génération de quittances PDF.
docker-compose up --build
Puis ouvrez : http://localhost:3000
Prérequis : Node.js 18+ et npm
# Backend
cd backend
npm install
npm run dev # Démarre sur http://localhost:3001
# Frontend (dans un autre terminal)
cd frontend
npm install
npm run dev # Démarre sur http://localhost:3000
| Couche | Technologie |
|---|---|
| Backend | Node.js + Express |
| Base de données | SQLite (better-sqlite3) |
| Auth | JWT + bcrypt |
| PDFKit | |
| Frontend | React 18 + Vite |
| UI | Tailwind CSS |
| Déploiement | Docker + Nginx |
TestApp/
├── backend/
│ ├── src/
│ │ ├── routes/ # auth, properties, tenants, leases, payments, receipts
│ │ ├── db.js # SQLite + migrations
│ │ ├── auth.js # JWT middleware
│ │ └── server.js
│ └── data/ # Fichier SQLite (créé automatiquement)
└── frontend/
└── src/
├── pages/ # Dashboard, Properties, Tenants, Leases, Payments
├── components/ # Layout
└── context/ # AuthContext