1.0 KiB
1.0 KiB
Django Port
This is the replacement backend for the legacy FastAPI app.
Shape
config/: Django project settings and URL rootapps/accounts: users, roles, business access, device registrationapps/core: businesses, vendors, products, categoriesapps/operations: invoices, inventory, events, schedulesapps/reporting: dashboard-facing revenue aggregatesapps/notifications: reminders and inbox itemsapps/api: JSON endpoints for the Svelte frontend
Expected setup
- Install dependencies from
pyproject.toml. - Run
python manage.py makemigrations. - Run
python manage.py migrate. - Run
python manage.py createsuperuser. - Run
python manage.py import_legacy_data.
Notes
- Auth uses Django sessions instead of custom JWT cookies.
- The import command consolidates both legacy SQLite files into one Django schema.
- Password hashes are not carried over directly; imported users get a forced reset placeholder.