Build the foundations for a Software as a Service business by leveraging Django, Tailwind, htmx, Neon Postgres, Redis, and using whitenoise for static file managment
The goal of this project is to learn how to create a reusable foundation for building SaaS products. When release, this course will span multiple topics and give you a solid foundation into build your foundation on SAAS .
values include :
- DJANGO_DEBUG=1
- DJANGO_SECRET_KEY=""
- DATABASE_URL=""
- EMAIL_HOST="smtp.gmail.com"
- EMAIL_PORT="587"
- EMAIL_USE_TLS=True
- EMAIL_USE_SSL=False
- EMAIL_HOST_USER=""
- EMAIL_HOST_PASSWORD=""
- ADMIN_USER_EMAIL=""
- STRIPE_SECRET_KEY=""
mkdir -p ~/dev/saas
cd ~/dev/saas
git clone https://github.com/honoursbhaduria/SaaS-Foundations .
python3 --version # Make sure it's 3.11 or higher
python3 -m venv venv
source venv/bin/activate
c:\Python312\python.exe -m venv venv
.\venv\Scripts\activate
With your virtual environment activated:
pip install --upgrade pip
pip install -r requirements.txt
cp .env.sample .env
cat .env
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"Paste the generated key into .env under DJANGO_SECRET_KEY.
source venv/bin/activate # or .\venv\Scripts\activate on Windows
cd src
python manage.py migratepython manage.py createsuperuser
python manage.py vendor_pull
Sign up at Stripe
Get your Secret API Key:
Dashboard > Developers > API keys > Secret key
STRIPE_SECRET_KEY="your_stripe_secret_key"python manage.py runserver
In development — course and foundation are actively being built. Much more coming soon!
Want to help or learn by contributing? Open an issue or pull request!