boilerplate-code-django-dashboard icon indicating copy to clipboard operation
boilerplate-code-django-dashboard copied to clipboard

Improvements - SPECS.md

Open app-generator opened this issue 3 years ago • 2 comments

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



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

app-generator avatar Aug 24 '21 15:08 app-generator

Docker & PostgreSQL

  • TD Article: https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/
  • Sources: https://github.com/testdrivenio/django-on-docker

app-generator avatar Sep 18 '21 19:09 app-generator

Multi-tenant via PostgreSQL Support

  • https://django-tenant-schemas.readthedocs.io/en/latest/

app-generator avatar Sep 21 '21 12:09 app-generator