build-a-saas-app-with-flask
docker-django-example
Our great sponsors
build-a-saas-app-with-flask | docker-django-example | |
---|---|---|
38 | 44 | |
934 | 1,097 | |
- | - | |
5.8 | 7.8 | |
4 months ago | 13 days ago | |
HTML | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
build-a-saas-app-with-flask
-
We Have to Talk About Flask
I've been maintaining my Build a SAAS App with Flask video course[0] for 8 years. It has gone from pre-1.0 to 2.3 and has been recorded twice with tons of incremental updates added over the years to keep things current.
In my opinion tutorial creators should pin their versions so that anyone taking the course or going through the tutorial will have a working version that matches the video or written material.
I'm all for keeping things up to date and do update things every few months but rolling updates don't tend to work well for tutorials because sometimes a minor version requires a code change or covering new concepts. As a tutorial consumer it's frustrating when the content doesn't match the source code unless it's nothing but a version bump.
I've held off upgrading Flask to 3.0 and Python 3.12 due to these open issues with 3rd party dependencies https://github.com/nickjj/docker-flask-example/issues/17.
[0]: https://buildasaasappwithflask.com/
- Good example projects on Github with Flask and Next.js 13?
-
Course recommendation for a begineer
Flask Mega Tutorial and "Build a SaaS App" purchased directly from the course website are probably your best bets.
-
How familiar do I need to be with Python to learn Flask?
The resource I'm looking to learn from is u/nickjj_ course, but I'm trying to figure out how familiar I should be with Python before I dive into it. Looks like I may need some HTML/CSS/JS as well.
-
Show HN: The pure Python SaaS starter kit
Build a SAAS App with Flask. Course / Boilerplate. https://buildasaasappwithflask.com/
- Has anyone taken this course?
-
starter project?
Personally I maintain https://github.com/nickjj/docker-flask-example. There's also https://github.com/nickjj/build-a-saas-app-with-flask if you want more opinions.
-
Where can I find templates (with or without code) of flask apps/SaaS?
There's: https://github.com/nickjj/build-a-saas-app-with-flask
-
Using Celery with Flask application factory
If you're looking only for a code reference there's https://github.com/nickjj/build-a-saas-app-with-flask which uses an app factory and Celery. It's all set up to send emails through Celery and has tests too.
-
How to go about creating a SaaS without experience as a student?
A few years ago I started my programming/ SaaS yourney and now I can live from my solo bootstrapped SaaS. I started learning Python 2 (free) on codecademy. Followed by the free CS50 from Harvard on Edx.org . After that I build my first SaaS using the SaaS template/ course https://buildasaasappwithflask.com
docker-django-example
-
Django 5.0 Is Released
Congrats on the release to the Django community!
If anyone is curious, I updated my Django / Docker starter kit app to use Django 5.0 at: https://github.com/nickjj/docker-django-example
It pulls together gunicorn, Celery, Redis, Postgres, esbuild and Tailwind with Docker Compose. It's set up to run in both development and production.
-
Working with Docker Containers Made Easy with the Dexec Bash Script
- https://github.com/nickjj/docker-django-example
-
What's the correct way to install or version up packages when using Docker and Poetry?
For example I edit the regular non-lock file and then run ./run pip3:install from my host which handles the above. A repo with an example Django project in Docker can be found here https://github.com/nickjj/docker-django-example. There's a pip3-install script in the bin/ directory, you can replace that with Poetry commands instead.
-
Docker advantages for a single developer?
Currently, I'm using a modified version of this Docker setup (https://github.com/nickjj/docker-django-example) to work locally and build/deploy a production image. However, using PyCharm as my IDE, the development process is incredibly slow, especially when adding or removing Python packages. It takes at least 3 minutes to rebuild the Docker image after adding a package, and PyCharm has to update its index. Additionally, PyCharm's inspector sometimes gets confused about which packages are already installed based on the requirements.txt.
-
Django 4.2 released
If anyone is interested I updated my Django / Docker starter project for 4.2: https://github.com/nickjj/docker-django-example
-
Django Local to Production - FTP or what ?
Lots of handy stuff in this Django and Docker example project https://github.com/nickjj/docker-django-example He does a good course about Docker too.
-
psycopg2 in production
If you're using Docker with a Debian based image you only need to apt install libpq-dev and you're good to go, it only needs to exist in your Docker image not your VPS directly. I've been using it for years. Here's a working example if you want to poke around https://github.com/nickjj/docker-django-example.
- Looking to use Docker & Docker Compose in production and need advice.
-
How to Dockerize any Django Application: A Step-by-Step Tutorial
On a positive note, I would recommend perhaps looking at https://github.com/nickjj/docker-django-example for a good, somewhat beginner guide for django + docker work.
-
What is your development cycle when using docker and containers? What's the general flow between developing locally and running the containers to test.
I put together https://github.com/nickjj/docker-django-example which pulls together a typical Django set up using Gunicorn, Celery, Postgres, Redis, esbuild and Tailwind.
What are some alternatives?
cookiecutter-flask - A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
Poetry - Python packaging and dependency management made easy
flask-boilerplate - Boilerplate template for a Python Flask application with Flask-SQLAlchemy, Flask-WTF, Fabric, Coverage, and Bootstrap
Tailwind CSS - A utility-first CSS framework for rapid UI development.
docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.
django-async-orm - Bringing Async Capabilities to django ORM
flask-boilerplate - Flask boilerplate using the application factory with basic authentication.
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
microblog - The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.
launchr - Launchr is an open source SaaS starter kit, based on Django.
hypercorn
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.