Learn how to build an Enterprise SaaS project using Django, Neon Postgres, TailwindCSS, SaaS Starter Code, and more. Enterprise SaaS means we need a a way to isolate customer data by implementing multi-tenancy, subdomain-based auth, and much more. We start with an existing Django application and build on top of that.
Use the discussions tab.
I recommend you know some of the following:
- Python
- Such as classes, functions, variables, math operations, installing, setting up virtual environments
- If you're new to Python, watch up to day 15 of 30 Days of Python(free)
- Django basics
- Such as views, URL routing, models and migrations, users and auth login
- If new to Django, watch Your First Django Project(paid) or Try Django 3.2(free)
- SaaS fundamentals with Django (Optional).
- Code
- SaaS Starter Code on GitHub(open source) or cfe.run(managed)
- Course (coming soon)
- Neon Postgres (our course sponsor)
- What, when, and why of multi-tenant apps (e.g. SaaS apps that need to keep enterprise data isolated)
- Levels of helping enterprise customers (e.g. when not to use multi-tenant)
- Implementing a multi-tenant in Django
- Per-tenant (per enterprise customer) login
- User data isoloation (via Postgres Schemas and Neon Databases)
- Custom migrations for Django models; for standard Django and Enterprise customers
- Django-hosts for subdomain routing and handling
- Django 5+
- Python 3+
- django-hosts - Subdomain handling in Django
- Neon Postgres - Serverless postgres + near instance database loading
- Django SaaS Starter code via GitHub(open source) or cfe.run(managed)
psycopyg[binary]
anddj-database-url
- Loading postgres- and more
Note: django-tenants is not used in this course. While Django Tenants is a very good tool it requires you to start with Django tenants for your SaaS projects. This tutorial does not. django-tenants was instrumental in designing this course. Once you finish the course, I encourage you to play around with django-tenants!
Read the course-specific definitions on the GitHub discussions. This course has a number of definitions that are specific to multi-tenant, enterprise-ready, Django SaaS projects and specific to this course.