Repository navigation
Development Database
Akram El Assas edited this page Oct 30, 2026
·
1 revision
For local development and testing, you can populate an isolated MongoDB instance with a complete fixture dataset including admin, suppliers, customers, locations, cars, bookings, and notifications:
# Seed development database (idempotent)
npm run seed:dev
# Clean development database (safely removes only seed-owned records)
npm run clean:devAll seeded development accounts use the password: B00kC4r5
| Role | Password | Access Level & App URL | |
|---|---|---|---|
| Admin | admin@bookcars.ma |
B00kC4r5 |
Admin Panel (http://localhost:3001/) |
| Supplier | dev-seed-supplier@bookcars.ma |
B00kC4r5 |
Supplier Admin Panel (http://localhost:3001) |
| Customer | dev-seed-customer@bookcars.ma |
B00kC4r5 |
Frontend App (http://localhost:3002) |
For full contributor documentation and safety guarantees, see DEVELOPMENT_SEEDING.md.
Copyright © Akram El Assas. All rights reserved.
- Home
- Overview
- Software Architecture
- Install Guide (Self-hosted)
- Install Guide (Docker)
- Free SSL Setup Guide
- Setup Sentry
- Payment Gateways
- Setup Stripe
- Social Login Setup Guide
- Build Mobile App
- Demo Database
- Development Database
- Run from Source
- Run from Source (Docker)
- Run Mobile App
- Locations
- Auto‐Notification System
- Rental Date and Time Constraints
- Price Calculation
- Supplier Contracts
- Add New Language
- Add New Currency
- Logs
- Testing
- Fork, Customize, and Sync
- FAQ
- Release Notes
- Contribution Guide
- Code of Conduct