Location, vente et import de véhicules entre l'Afrique, l'Europe, l'Asie et le Moyen-Orient.
Translation pending
CommerceJavaScript · CSSGitHub @Menezndri2023OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
Ce projet inclut maintenant une API Node/Express, une base de données fonctionnelle (MongoDB ou en mémoire), authentification JWT, gestion de vendor et admin, et toasts notifications.
npm install
npm run dev
cd server
npm install
$env:PORT=5001 # ou PORT=5001 en Linux/Mac
npm run dev
:point_right: MongoDB optionnel : si MongoDB n'est pas disponible, le serveur basculera automatiquement en mode offline avec base de données en mémoire.
.env)server/db/offlineDB.js)src/pages/{Register,Login}.jsxuser (vendeur), admin (modérateur)Vendeur :
/vendor → publier véhicule/vendor/dashboard → voir ses annonces + statuts/stats → ses statistiques personnesAdmin :
/admin → valider/refuser annonces/stats → statistiques globales (revenue, total bookings, etc.)/api/auth)POST /register - inscriptionPOST /login - connexionGET /me - profil connecté/api/vehicles)GET / - liste approuvée (public)GET /mine - mes véhicules (auth)GET /pending - en attente (admin)POST / - créer (auth)PATCH /:id/status - valider (admin)/api/bookings)GET / - mes réservations (auth)POST / - créer réservation (auth)/api/payments)POST /checkout - simulateur (à remplacer par Stripe)✅ Auth JWT + rôles
✅ Dashboard vendor + stats
✅ Admin panel + validation
✅ Notifications toasts (success/error/info)
✅ Fallback offlineDB
✅ Catalogue + filtres
✅ Réservations & paiements (base)
✅ Profile utilisateur
.env (serveur)MONGO_URI=mongodb://localhost:27017/vitauto # optionnel
JWT_SECRET=your_jwt_secret_here
PORT=5001
STRIPE_SECRET_KEY=your_stripe_secret_key # optionnel