Summary of what I changed and added:
Added initial migrations for accounts, salons, bookings, payments. 0001_initial.py 0001_initial.py 0001_initial.py 0001_initial.py Added demo seeding command. seed_demo.py OTP provider abstraction now includes Twilio + Unifonic adapter scaffolds (not implemented yet, they raise). otp.py Moyasar gateway scaffold added (not implemented yet, raises). gateway.py Added .env loading in settings and expanded .env.example for OTP and Moyasar. settings.py .env.example Captured current gaps/risks in a tracked doc as requested. risks.md Updated README with seeding guidance and risk doc pointer. README.md
This commit is contained in:
@@ -12,6 +12,12 @@ Location: `backend/`
|
||||
2. Copy `backend/.env.example` to `backend/.env` and adjust values.
|
||||
3. Run migrations and start the server.
|
||||
|
||||
### Demo data
|
||||
|
||||
After migrations, you can seed demo data:
|
||||
|
||||
- `python manage.py seed_demo`
|
||||
|
||||
### Core API endpoints (current scaffold)
|
||||
|
||||
- `POST /api/auth/register/`
|
||||
@@ -40,3 +46,7 @@ Location: `frontend/`
|
||||
2. Run `npm run dev`.
|
||||
|
||||
The dev server proxies `/api` to `http://localhost:8000`.
|
||||
|
||||
## Project Notes
|
||||
|
||||
- Known gaps and risks: `docs/risks.md`
|
||||
|
||||
Reference in New Issue
Block a user