boilerplate-code-django-dashboard
boilerplate-code-django-dashboard copied to clipboard
Improvements - SPECS.md
The product should provide all features listed below - Full information on SPECS file
Sprint 1
- 1# - Updated dependencies
- Django==3.2.6 (latest stable version)
- 2# - Pythonic Footprint
- 2.1 - Codebase evolutions (See bellow)
- 2.2 - Docker scripts update
- 2.3 - Code formatting, Better naming
- 3# - Improved Authentication:
- 3.1 - Email confirmation on register (optional via config)
- 3.2 - Password reset mechanism
- 3.3 - Extended user model: registered users can edit their info
- 4# - API via DRF
- 5# - Data Tables - manages paginated information
- 6# - Sample Charts
- 7# - Social Login via Google and Github
- 8# - Deployment:
- 8.1 - Docker + PostgreSQL
- 8.2 - Autoreloading files when using Docker
- 8.3 - HEROKU
- 8.4 - AWS Ec2
- 8.5 - Google Cloud
- 8.6 - Azure
- 9# - Payments: One-time payments via Stripe Checkout
Sprint 2
- 10# - Internationalization and localization
New Codebase Structure
core/
├── settings.py
├── static
│ ├── <css, JS, images>
├── templates
│ ├── UI Templates (master pages, components)
|
apps/
├── app
│ ├── admin.py
│ ├── config.py
│ ├── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── models.py
│ ├── tests.py
│ ├── urls.py
│ └── views.py
├── authentication
│ ├── admin.py
│ ├── config.py
│ ├── forms.py
│ ├── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── models.py
│ ├── tests.py
│ ├── urls.py
│ └── views.py
├── config.py
└── __init__.py
Docker & PostgreSQL
- TD Article: https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/
- Sources: https://github.com/testdrivenio/django-on-docker
Multi-tenant via PostgreSQL Support
- https://django-tenant-schemas.readthedocs.io/en/latest/