|
|
il y a 4 mois | |
|---|---|---|
| backend | il y a 4 mois | |
| frontend | il y a 4 mois | |
| .env.example | il y a 4 mois | |
| .gitignore | il y a 4 mois | |
| LaunchToProd.sh | il y a 4 mois | |
| README.md | il y a 4 mois | |
| RebuildandStart.sh | il y a 4 mois | |
| docker-compose.yml | il y a 4 mois |
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