Python Tutorial: Build a SaaS App with Django, Stripe, Neon PostgreSQL, TailwindCSS, GitHub Actions

  Рет қаралды 175,751

CodingEntrepreneurs

6 ай бұрын

⭐️ Sign up for Neon right now! neon.tech/cfe
Topics:
✅ Python web development with Django
✅ Sending Emails with Gmail
✅ Django AllAuth + GitHub Login
✅ Deploy to Railway
✅ Integrate Neon Postgres
✅ Django Groups and User Permissions
✅ Django + Stripe Integration
✅ Stripe reoccurring payments via Products/Prices API
✅ Django Management commands to sync Users subscription status with correct permissions
✅ Django management commands for pulling vendor css/js (tailwind/flowbite) for container-based builds plus
✅ Django with whitenoise
✅ Scheduled GitHub Actions Workflows to sync prod database with stripe status (e.g replacing a Celery beat server)
✅ Using Neon Branching for Postgres in GitHub Actions to leverage production data without touch production data
✅ Python Decouple for env vars
💽 Code: github.com/codingforentrepreneurs/SaaS-Foundations
🕹️ Blog - Deploy Django on Railway with this Dockerfile - cfe.sh/blog/deploy-django-on-railway-with-this-dockerfile/
🕹️ Blog - Sending Email in Django from Gmail - cfe.sh/blog/sending-email-in-django-from-gmail/
Thank you to Neon for sponsoring this course - sign up at neon.tech/cfe
🚀 Enroll now on cfe.sh/enroll 🚀
Chapters
00:00:00 Welcome
00:00:33 Overview
00:06:10 What you need to know
00:08:19 Start Django Project
00:18:57 Your First HTML Webpage with Python Functions
00:28:27 Rendering HTML Documents
00:33:33 Using Django Templates
00:43:46 Django Template Inheritance, Conditions, & Include
00:53:39 Store and Retrieve Data Part 1
01:03:59 Store and Retrieve Data Part 2
01:11:17 Push to GitHub via Git
01:18:12 Prepare for Production Environment
01:25:28 Deploy Django to Railway with Docker Containers
01:41:57 The Hard Way to Manage Environment Variables
01:48:00 dotenv and Python Decouple to Manage Environment Variables
01:56:33 Provision a Serverless PostgreSQL Database with Neon
02:03:50 Integrate PostgreSQL with Django
02:11:21 Neon in Production + Database Branching
02:18:06 Styling with CDN for TailwindCSS and Flowbite
02:25:42 Configure Django Static Files in Dev
02:38:57 Download Url to Local File Helper Function
02:43:16 Custom Django Management Command to Pull Vendor Files
02:55:06 Missing Args with Container Build in Railway
03:01:19 Using WhiteNoise to Serve Django Static Files
03:12:09 Configure Django to use Email with Gmail
03:22:15 Django Admin User + User Passwords
03:33:20 Django Login View Logic
03:41:45 HTML Login Form and Template
03:52:46 Register Users the Hard Way
04:03:19 Configure Django AllAuth
04:15:10 User Email Verification with Django AllAuth
04:17:25 Better UI for Django AllAuth
04:28:24 Navbar Links for Auth
04:35:31 Login with GitHub via Django AllAuth
04:44:20 Password Protected Page with Django Sessions
04:52:22 User-required Pages via login_required Decorator
04:55:43 Staff User Required
05:01:22 User Profile View
05:09:43 User Permissions and has_perm
05:20:32 User Permissions in Django Templates
05:29:45 Groups & Group-level Permissions
05:33:18 Custom Permissions for Django Users
05:41:27 Groups and Permissions within Subscriptions
05:49:07 Syncing Subscription Groups and Permissions
05:56:35 Sync User Subscription with the User Group Part 1
06:02:58 Sync User Subscription with the User Group Part 2
06:12:41 Getting Started with Stripe
06:19:49 Django Customer Model
06:24:48 Override Django Save to Create Stripe Customer
06:37:10 DjangoAll Auth Signal to Confirm Django Stripe Customers
06:51:40 Our Django Subscription Model as a Stripe Product
06:57:01 Subscription Price Model
07:09:33 Manage Prices in Django Admin with Tabular Inlines
07:15:41 Featured and Ordered Pricing
07:24:26 Subscription Pricing View & Template
07:29:39 Pricing Table based on QuerySets
07:42:16 Pricing Interval Toggle Views
07:50:26 A Django Session Based Checkout Process
08:01:55 Stripe Checkout Session
08:12:57 Stripe Checkout Finalize View in Django
08:22:27 Successful Purchase to User Subscription Model
08:35:03 Auto Cancel Subscription on New Plan
08:44:54 Adding Subscription Billing Period Dates
08:58:20 User Subscription Status Field
09:04:59 User Subscription View and Refresh
09:18:16 User Subscription Cancel View
09:30:35 Cancel Dangling User Subscriptions
09:41:21 Custom Django Management Command with Arguments
09:47:23 Subscription Refresh Utility Function
09:56:40 Custom Django Model QuerySets and Model Managers
10:05:03 Filtering Django Models with Datetime Objects
10:18:57 Hello World from GitHub Actions
10:28:45 Testing Django Basics with GitHub Actions
10:35:18 Environment Variables in GitHub Actions
10:41:00 Github Actions Secrets for Database URL
10:47:38 Branch Neon DB for Django Tests
11:01:41 Scheduled Production Worker with Django Neon Stripe and GitHub Actions
11:18:00 A Better Landing Page with Flowbite
11:27:19 Using the SaaS Theme to Fix Missing Tailwind Classes
11:31:39 Dashboard View
11:37:12 Decouple Dashboard
11:49:13 Thank you and next steps

Пікірлер: 274
@NyihaNgotho
@NyihaNgotho 6 ай бұрын
This guy low-key is the reason I still have a job. God bless you my friend!
@CodingEntrepreneurs
@CodingEntrepreneurs 4 ай бұрын
this guy is the not-so-low-key reason I smiled extra wide today. thank you for making my day
@NyihaNgotho
@NyihaNgotho 4 ай бұрын
@@CodingEntrepreneurs anytime
@priyadugg1392
@priyadugg1392 5 ай бұрын
You deserve a big THANK YOU because there is hardly any content of this advanced level on KZbin. All the channels and videos I've been watching from and learning from are mediocre, and I was unable to level up from them. They all exaggerate the same fundamentals over and over again, and the projects are the almost same. There's nothing new out there. Then I came across your video, which made me think, "yeah! I can learn from this guy even more than I expected.. A Big Thank you again!
@Zarni85
@Zarni85 3 ай бұрын
Yes, this comment is exactly what I want to say too.
@momodoubjallow2585
@momodoubjallow2585 6 ай бұрын
KZbin viewers aren't fair with you. how are you still less than 1m subscribers with all the value you provide without up selling anything. Any thank for another wonderful project.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
What do I need million subs for when I have you? Thanks for the support!
@MohammedUniverse
@MohammedUniverse 6 ай бұрын
​@@CodingEntrepreneurs Wow, well said, s/he deserves that compliment 😂Actually you also deserve praise for your hard and detected work.
@momodoubjallow2585
@momodoubjallow2585 6 ай бұрын
@@CodingEntrepreneurs respect!
@RaminChopurov
@RaminChopurov 5 ай бұрын
I am actually also shocked as he is the best with python in here. I was watching his videos back in 2019, still confirm that his projects are the most advanced on yt.
@junaidkhankhan4260
@junaidkhankhan4260 4 ай бұрын
​@@CodingEntrepreneursman you are love just need to work on seo
@NoahMasolo
@NoahMasolo 6 ай бұрын
May God bless you for putting so much content for free
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Be sure to sign up on neon, they helped us bring it to life
@martingarcia3999
@martingarcia3999 6 ай бұрын
I can only say THANK YOU. there are not many channels out there that think about coding as a business so well explained. for entrepreneurs it is really hard to find this kind of videos focused on creating business.
@farid9323
@farid9323 6 ай бұрын
Justin was one of my first teachers when I started out. My career took me more on the front-end path, but his teaching style was/is incredible. I cannot recommend him highly enough.
@Codeit-j2n
@Codeit-j2n 3 ай бұрын
So glad you didnt just do the whole "you do this and then that" but actually explained some of the common errors and the why things work. Super important imo to know why things work rather than just do it because it says so. Best tutorial I have come across in a long time. Keep up the good work this is super helpful
@Minarctic
@Minarctic 6 ай бұрын
This is GOLD. I can't thank you enough. As a junior Django developer myself, your courses are so valuable to me. ❤
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Wow, thank you!
@rida_brahim
@rida_brahim 6 ай бұрын
It's like watching Sean Strickland teaching you about how to build a SaaS, the way he talks, but it's great content love it
@nitensapkota8606
@nitensapkota8606 4 ай бұрын
I was about to say it 😂😂
@rida_brahim
@rida_brahim 4 ай бұрын
@@nitensapkota8606 🤣
@thakhaoticone
@thakhaoticone 3 ай бұрын
This is by far the most comprehensive Django tutorial I’ve ever seen
@muhammadirfan19
@muhammadirfan19 9 күн бұрын
I learned a sentence from You within just first 2 minutes of this course. "So the idea here is" 😁. Looking forward to complete this course. You look soo much energetic about this course.
@oforibright5628
@oforibright5628 2 ай бұрын
You are such a great tutor Just one hour into the course I feel like a pro Explanation is very detailed you know your stuff
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
Thank you!
@sleepadventures
@sleepadventures 3 ай бұрын
Its sooo packed with information... I often listen to these at 1.5x and I can barely keep up at 1x... GREAT CLASS. Everything explained and lots of new stuff.
@smvignesh3650
@smvignesh3650 5 ай бұрын
I started watching this tutorial and as a a beginner I can say this is the best video that will teach you how to create your web app. Thank you so much for creating this tutorial
@batman_1337
@batman_1337 3 ай бұрын
FYI In Better UI for Django AllAuth section ---> please note the repo is updated as of now in templates directory instead of making account/base.html, please create the same directory path found in the django all ui repo, for example as of now i see the base.html in allauth/layouts --> base.html create the same in your repo essentially your are in a way overwriting their style.
@kristianrincon1576
@kristianrincon1576 3 ай бұрын
Thank you very much, I was trying to solve this since yesterday, now that I see your comment it seems very obvious but I had not realized it.
@richlueking2627
@richlueking2627 2 ай бұрын
Thank you.
@gamingLiberationFrontOfficial
@gamingLiberationFrontOfficial 6 ай бұрын
Thank you so much for this amazing tutorial! Building a SaaS app with Django, Stripe, Neon PostgreSQL, TailwindCSS, and GitHub Actions seemed daunting at first, but your clear explanations and step-by-step guidance made it all manageable. I've learned a ton and can't wait to apply these skills to my own projects. Keep up the fantastic work!
@Userqpo
@Userqpo 6 ай бұрын
GPT detected 😂😂 Good that there wasn't word "elevate" in your comment.
@belkassem06
@belkassem06 6 ай бұрын
Wooow 12 hours and for FREE? MashAllah. May Allah bless you. Thank you
@MuhammadAnas595
@MuhammadAnas595 4 ай бұрын
God bless you amigo! This course - PHENOMENAL! Keep it up, super beginner friendly, super detailed and great quality!
@judevector
@judevector 6 ай бұрын
Wtf 😮, i just search for django and it showed me your free course with recent technologies. I shouted with people looking at me . Thank you so much 🙏❤, I have been following you for a long time and I am glad i did
@laughs_of_ethiopia
@laughs_of_ethiopia 6 ай бұрын
You are an absolute genius when it comes to Django.
@allanbakwanamaha2998
@allanbakwanamaha2998 6 ай бұрын
Honestly speaking, am trying to take time and set myself for this awesome content. Thanks for your time rendered always to equip us with is great content. My Love from Uganda
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Thank you
@raphaelmatthew5165
@raphaelmatthew5165 5 ай бұрын
I'm not a web dev but I watch your videos because your method of teaching is so understandable and satisfying ❤
@thomaswyrick4648
@thomaswyrick4648 5 ай бұрын
This is probably the best technical instruction video I've ever watched. Thank you so much!
@CodingEntrepreneurs
@CodingEntrepreneurs 5 ай бұрын
Thank you for making my day!
@shizuki_kuma
@shizuki_kuma 2 ай бұрын
Thanks for sharing this course! It has been quite a long journey for me to follow this to the end. Really learned a bunch of things here and enjoyed a lot~
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
Thank you! Did anything not work? What could be improved?
@shizuki_kuma
@shizuki_kuma 2 ай бұрын
@@CodingEntrepreneurs Most things worked well for me, but an update of allauth-ui caught me at the early stage of the course. They now include slippers for better ui, and something seems to be working differently. I just followed an advice from the comments - copied layouts/base.html to my template path - and it worked. 🥳
@letssee6813
@letssee6813 6 ай бұрын
Man how its possible that you have only 300k subs man. you have my dream skills Man.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
🤷🏻‍♂️ who knows. Tell your friends to sub lol
@ephremnigussie7892
@ephremnigussie7892 2 ай бұрын
Full of thanks!! Justin even in the age of AI you are incredible as always.
@jingoversoza
@jingoversoza Ай бұрын
Very good video.. Very informative.. If there is only one request: that you revisit the sections pertaining to Django Allauth.. Allauth now has been updated
@Waseem-f7n
@Waseem-f7n 6 ай бұрын
OMG--- i have no words--- What should i write to express my excitement situation on this Great Video--- Can anyone lend me some words----?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
I think you nailed it
@richlueking2627
@richlueking2627 2 ай бұрын
hi thanks am learning alot, 1: please help 4:35:31, Third-Party Login Failure An error occurred while attempting to login via your third-party account. 2: 'allauth_ui', and 'widget_tweaks' integration giving me TemplateSyntaxError at /accounts/login/ 'slippers' is not a registered tag library. Must be one of... I research the issues yet still no progress.
@kevinbort4249
@kevinbort4249 2 ай бұрын
hi, did you fixed the github problem?
@richlueking2627
@richlueking2627 2 ай бұрын
@@kevinbort4249 no not yet
@msvajgl
@msvajgl 2 ай бұрын
pip install django-allauth-ui==0.3.6 will solve the issues. Latest version of django-allauth-ui works differently
@richlueking2627
@richlueking2627 2 ай бұрын
@@msvajgl thanks
@bobrob-ew2ly
@bobrob-ew2ly 6 ай бұрын
Love it, thank you for teaching me how to fish. Mad respect!! 💯
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
As long as you go fishing, I did my job 😂
@Afzal3000
@Afzal3000 6 ай бұрын
I subscribed this channel 2 days ago, best decision I took❤❤
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Welcome and thank you!
@DesignsbyBlanc
@DesignsbyBlanc 6 ай бұрын
This course is fantastic. Thank you for the quality content!
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Thank you!
@Harmonymwirigi
@Harmonymwirigi 4 ай бұрын
I really don't know how to thank you brother I was a django developer until followed this tutorial🤣 then I realized what is django...Any way I wish you create another tutorial for creating full stack app in Django as backend and React as Frontend
@LouisDuran
@LouisDuran 3 ай бұрын
Thanks!
@CodingEntrepreneurs
@CodingEntrepreneurs 3 ай бұрын
Thank you!
@Omar00113
@Omar00113 6 ай бұрын
I love the content and am very happy to see this new resource 👏👍 If I may, for such long courses/tutorials, showing a demo of the end product at the beginning of the video would help. I would personally be interested in giving the architecture and the process a thought before following the course to challenge my own way of going about it. Keep up the good work man
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Thank you
@joshnoni5609
@joshnoni5609 4 ай бұрын
A computerized maintenance management system would be a great next project/tutorials @codingEntrepreneurs. You are going a great work
@gambomaster
@gambomaster 6 ай бұрын
Was desperately waiting for this tutorial. 🙏🙏🙏
@ProPython
@ProPython 6 ай бұрын
I will donate my first salary to your channel for sure.... Thanks a lot sir 🙏🏻
@aleksandarpetrovic2632
@aleksandarpetrovic2632 Ай бұрын
The best tutorial about Django, thank you!
@timthegreatone
@timthegreatone 6 ай бұрын
Wow. I've been trying to build a saas app with django. This course arrived just in time. Could you build multi-tenant apps in the future?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Multi-tenant in Django would be great. Who else wants this?
@JeanBaptisteChabi
@JeanBaptisteChabi 6 ай бұрын
​@@CodingEntrepreneursme
@bollo_omar
@bollo_omar 6 ай бұрын
@@CodingEntrepreneurs add me as well
@burcescuandreeamaria
@burcescuandreeamaria 6 ай бұрын
Count me in!
@jjmontgo2
@jjmontgo2 5 ай бұрын
You mention in the course you aren't doing multi-tenant saas "yet". It would be great if you did. Multi-tenancy is pretty import for saas afterall.
@TheMarketingMan4U
@TheMarketingMan4U 6 ай бұрын
It's been 2 yrs in webdev and I still feel its way too difficult to understand the logics. Oh God Give Me Brain For Coding )))
@junaidkhankhan4260
@junaidkhankhan4260 4 ай бұрын
Bcz you try to understand the frame works/library before understanding the programming language
@magnifiedentertainment7160
@magnifiedentertainment7160 4 ай бұрын
How
@olainiyanadewale5219
@olainiyanadewale5219 3 ай бұрын
Take more effort on reading books before video tutorials
@Maisonier
@Maisonier 3 ай бұрын
You don't need a brain, just 100% practice and comitment
@TheMarketingMan4U
@TheMarketingMan4U 3 ай бұрын
@@Maisonier I liked this comment. Thanks
@panwar_aashvi
@panwar_aashvi 5 ай бұрын
Waiting for part 2 for this app to upgrade to next level 😊
@majestif
@majestif 6 ай бұрын
12 hours of quality content. You're our hero!
@SoniqsFPS
@SoniqsFPS 5 ай бұрын
till now the best content of django
@laysskheir394
@laysskheir394 6 ай бұрын
Amazing, more videos like this and for Django
@SrikantSingh673
@SrikantSingh673 2 ай бұрын
one of the best django tutorial
@shamstabrez9283
@shamstabrez9283 2 ай бұрын
Hi Men your Genius i really appreciate your effort and dedication hats off
@dieu-donnenazzah3657
@dieu-donnenazzah3657 2 ай бұрын
Just a scan through and I am giving a like
@TOGB_Reeper
@TOGB_Reeper 6 ай бұрын
awesome video, lot's to learn especially for a beginner like me, although I see a lot of people are only using stripe, is there a wat to use another platform like PayPal or something since stripe is not available everywhere especially in the African market
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Thank you. Other payment methods are possible but requires knowing their api and service. A lot of what’s done here can be adapted but, especially for beginners, that might be a bit tricky. I suggest using Stripe to learn how it’s possible. Once you do that, then use an API that works in the region you want.
@corpsedad7368
@corpsedad7368 5 ай бұрын
I want to do my first python project should i start with this . I have done mern though.
@CodingEntrepreneurs
@CodingEntrepreneurs 5 ай бұрын
How much Python do you know? If you feel good about writing classes functions lists variables, you should give this a try. I give some other resources to learn more in the video
@corpsedad7368
@corpsedad7368 5 ай бұрын
@CodingEnterpreneues I know the basics as i have done it for (c, c++,c#,js) so i can complete that in a day. Just revision required. So after that what should i Start with.
@abdulrehmanrais1077
@abdulrehmanrais1077 2 ай бұрын
If I understand almost all of these concepts in video then am I ready to apply for Django dev jobs??😬Please answer..😔😔
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
Could be. Why not do the course, apply, get feedback, and go from there?
@abdulrehmanrais1077
@abdulrehmanrais1077 2 ай бұрын
@@CodingEntrepreneurs Thanks for the advice and a big big Thanks for this course ❣️❣️. This is absolute gold and it means a lot.
@zoyaa9759
@zoyaa9759 6 ай бұрын
More Django is good , good Django is great! ❤
@najmulsharifworld
@najmulsharifworld 2 ай бұрын
thank you for your good tutorial . but i have an questions . my question is , is it possible to explain a multi tenant system in your lecture ? . or if possible then please can you publish an video for multi tenant app video ? . thank you again
@paraworkshop
@paraworkshop 2 ай бұрын
Great Course thank you! I'm now at half time and I'm a bit confused over the subscriptions - groups - permissions. Can you wrap this up with use cases and best practices such as: What do you do if a new user comes in? Do you give them a subscription manually or do you add groups manually and what if you remove all groups manually and the subscription is still existing etc...Thanks!
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
I'd say grant permissions as needed and what makes sense for your app. New users might go into a "new users" group that, over time, moves over into a "active non-subscriber" group then, if the user is not very active on your site, "inactive non-subscriber" group.
@paraworkshop
@paraworkshop 2 ай бұрын
@@CodingEntrepreneurs Alright thanks!
@sudipkc00
@sudipkc00 6 ай бұрын
I would have put everything aside and start doing this project rightaway if it was done with DRF but lets see if I want to this in future
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Perhaps…. DRF comes later
@MrAndriyevski
@MrAndriyevski Ай бұрын
Great work dude, thank you for good exp!
@nikhilsingh3767
@nikhilsingh3767 6 ай бұрын
excited to complete this thank u😇
@fideleananivi4102
@fideleananivi4102 24 күн бұрын
Section-1 branch code changed. Please can you provide the code as at the section 1 state (1:26:01)? I am following the tutorail but can't use the current available section-1 code on your github. You have modified it a lot .
@CodingEntrepreneurs
@CodingEntrepreneurs 23 күн бұрын
Check the commit history!
@radekiqroad
@radekiqroad 6 ай бұрын
Hi You asked what tutorial we want? If it is possible, I would like to see the applications Droplet vs EC2 docker portainer ngnix cognito AWS python django + flowbite Api python important LWA login by aws It's supposed to be a simple website, something like you built in this video SaaS it is supposed to be SP-API FOR AMAZON downloading reports .photos. and other I want to start with one API and expand over time does what I write make any sense? Do you see an easier path? Thanks
@hardcode1136
@hardcode1136 2 ай бұрын
Sir u r amazing. Hat's off to you.
@tigere01
@tigere01 6 ай бұрын
This ladies & gentlemen is my guy!
@shivamkumar-qp1jm
@shivamkumar-qp1jm 6 ай бұрын
I was waiting for this thank you very much from the bottom of my heart
@dipesh-siwakoti
@dipesh-siwakoti 6 ай бұрын
Hello , Can you fix the CSRF issue in production environment. Login, Register both features are not working at all. Thanks
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Make sure you add CSRF_TRUSTED_ORIGINS with the same values as allowed hosts plus http/https, eg CSRF_TRUSTED_ORIGINS=[".railway.app"]
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
docs.djangoproject.com/en/5.0/ref/settings/
@hoangquocdat7553
@hoangquocdat7553 14 күн бұрын
Thank you very much for going to such lengths to guide us on this complex topic. Just one thing I find confusing here at 5h:53 about the sync_subs.py function: Suppose Subscription include 2 Groups 'Basic + Pro', Group Basic has Perm Basic, Group Pro has Perms Basic + Pro then when we run sync_subs.py both Groups will be set to the same Perms Basic + Pro thus rendering Groups meaningless, right?
@TheApeWonder
@TheApeWonder 2 ай бұрын
Hey, this is great stuff. Just what I needed. Just a few questions: Even if $5 isn’t much, for using Railway, but is this required for me to keep up with the tutorial? Like, are we expected to pay for “stuff” in this guide or are there alternatives while developing? I mainly asking because I’m not “there” yet with my SaaS idea. Thinking of perhaps hosting it on my RPi5 8Gb RAM for fun - in the beginning for testing.
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
Definitely use a Pi if you have one host it, you can learn a ton doing so. Railway is just an example of what you can do, it’s not required to learn what we do in this course. It’s definitely good to learn how to go into prod which is why I show you this.
@TheApeWonder
@TheApeWonder 2 ай бұрын
@@CodingEntrepreneurs Thanks a bunch for the quick reply! I’m loving this tutorial but just got “stuck” at this crossroad - go with railway or not. Totally get the idea with going into production. Very nice. I’ve hosted my React website using the RPi earlier and that was really great learning as you imply. Now want to take it further with dev/prod etc. and full stack using Python/Django so your stuff is amazing.
@yixian0716
@yixian0716 2 ай бұрын
Hello, seems like the django-allauth-ui had updated the their package and source code to another version, which I can't apply the account/base.html to our templates as in videos. May I know is there a fix? I am stuck at here and couldn't continue
@CodingEntrepreneurs
@CodingEntrepreneurs 2 ай бұрын
Does it work from my code? Copy what I have
@yixian0716
@yixian0716 2 ай бұрын
@@CodingEntrepreneurs I have copied from ur sourcecode from ‘src/templates/accounts/base.html’ but it doesn’t render the webpage for the login just like in your video. But overall from the beginning until now, it was a great tutorial. Thx for your hard work.
@hrithikjain452
@hrithikjain452 2 ай бұрын
@@yixian0716 Facing the same issue here
@prahaladreddy9888
@prahaladreddy9888 2 ай бұрын
i am at 1:33:0 . At the deployments section it says unexposed service . I am trying to figure out on my own but it's been an hour and i found no solution please some one help me
@music-meister
@music-meister Ай бұрын
Building with Stripe is easy but not a good idea. You need to be generating at least $100,000 in revenue just to sign up, and the only free option is the sandbox. If you're a regular person starting a new venture, switching to PayPal might be a better option.
@FuzzyAnkles
@FuzzyAnkles 5 ай бұрын
what a content! so good to found you!
@AbdullahWaseem-t8b
@AbdullahWaseem-t8b 3 ай бұрын
People who use tailwind are gold, currently watching REST video, so will watch this one later.
@sekiro_19
@sekiro_19 4 ай бұрын
Neon is probably the best way to host your psql db.
@japheth_crepin
@japheth_crepin 6 ай бұрын
Hey Justin!, can you make django tutorial on multi-tenancy please!
@martinzhan5702
@martinzhan5702 4 ай бұрын
I tried several times but still had an error about OperationalError from Django, which indicates that my application is unable to establish a connection to the PostgreSQL database. Do I need to upgrade my plan so that I can connect to Neon?
@supersecretninjame
@supersecretninjame 6 ай бұрын
Great Course!! I would really love to learn how to take the HTMX route in order to make the app more user friendly without adding the complexity that NEXT / React brings. I think we could achive a lot in a more enjoyable way coding wise with HTMX and it would also suggest an alternative route to the current status quo in full stack dev wich is becoming more and more crazy in terms of complexity...
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
Thank you! Who else wants HTMX?
@unemployed-developer
@unemployed-developer 6 ай бұрын
@@CodingEntrepreneurs just right here
@Roman-kn7kt
@Roman-kn7kt 3 ай бұрын
Spotless super video. Thank you !!
@thecutestcat897
@thecutestcat897 2 ай бұрын
oh my god, this video is really crazy
@guilhermevinis
@guilhermevinis 4 ай бұрын
You are my savior right now!
@fuuman5
@fuuman5 6 ай бұрын
Really really nice tutorial. You have a nice way of explaining. Easy to follow. What stops me from launching anything is that I'm worried about commitments or responsibilities. After all, I store customer data. To what extent am I liable if this data is deleted? Is it because the database provider has made a mistake or I have installed a bug? After all, someone has paid money for this service. Are there any tips or things to bear in mind in this regard so that I don't score an own goal? I don't want to be legally prosecuted.
@ahmadshabaz2724
@ahmadshabaz2724 6 ай бұрын
Good project sir . Awesome work.
@WildlyFunnyFacts
@WildlyFunnyFacts 4 ай бұрын
thanks alot for this but can i ask why you not use class based view instead of function based view i just wonder spcially that the class based view have alot of good shortcuts that gonna make it esier i just asking and wonder you are the master and i want to learn
@CodingEntrepreneurs
@CodingEntrepreneurs 4 ай бұрын
Function based views are easier to manage for most. Both can be great
@CMGMedia487
@CMGMedia487 3 ай бұрын
Any chance of a part 2 making this multi tenant or assigning a company id to paid user and assign unpaid user to a company id
@CMGMedia487
@CMGMedia487 3 ай бұрын
and using microsoft email
@MahtabKamal
@MahtabKamal 2 ай бұрын
Dear Brother I need a suggestion which is better for SaaS , FastApi or Django.Please give me suggestion
@naveenbasavaraja8292
@naveenbasavaraja8292 2 ай бұрын
1) Django for ecosystem --> has admin panel + application structure 2) FastAPI --> you need to build the app structure BUT its best for asychronous programming.
@jaybeatz8084
@jaybeatz8084 6 ай бұрын
Thanks bro, this is great 👌🔥
@Deus-lo-Vuilt
@Deus-lo-Vuilt 5 ай бұрын
Thank you very much, I learn a lot from your content!
@LouisDuran
@LouisDuran 3 ай бұрын
I like this SW stack. I don't have any experience with Neon though. I have to use some PostGRES db on AWS. can Neon be hosted on AWS if that makes sense? PS: Thanks a million for the video
@CodingEntrepreneurs
@CodingEntrepreneurs 3 ай бұрын
Thanks! Neon is its own service but you can connect to it on any cloud platform just as we do in this course.
@cattnation6257
@cattnation6257 Ай бұрын
i having issue while downloading a dataset from my app i use celery to do it but i need to add a progess bar mannuly to show how much its downloaded its tedous now can we donwnload a whole data like other site do in chome its downloading on chorme download icon chunks by chunks any tutorial would help anyone?? edit my app is on django and react
@speecial4134
@speecial4134 4 ай бұрын
1:16:01 last 1:34:55 last 2:44:05 last 3:33:57 last
@jingoversoza
@jingoversoza 3 күн бұрын
On the section "Django Allauth Signal to Confirm Django Stripe Customers".. already getting an error "SMTPAuthenticationError at /accounts/signup/".. I think this has something to do with google already not allowing less secure apps to access the email accounts.. Supposedly, this is to be officially implemented Jan2025 but already has taken effect.. This affects the account email confirmation/verification functionality of the demo... Hopefully, you can help update and circumvent this by signing-in using the google account aside from Github.. or this is in the later part of the video (hehe)..
@andrewrichter544
@andrewrichter544 5 ай бұрын
I am getting "Third-Party Login Failure" error when trying to login with github
@SwampTekGaming
@SwampTekGaming 5 ай бұрын
I am getting that and with Discord as well
@dipedchoclate
@dipedchoclate 5 ай бұрын
I had the same issue first double check everything was input correctly for the gmail verification part mostly if you copy and pasted from his blog as he does have a typo on this line EMAIL_USE_SSL = config("EMAIL_USE_TLS", cast=bool, default=False) TLS should be SSL this wasn't what fixed it for me through what i need to do was on github side instead of creating as an app i made it as an Oauth app instead following the same steps as he does for the github app
@csch5258
@csch5258 3 ай бұрын
We didn't create .dockerignore file, so wouldn't staticfiles/vendor/flowbite.min.css and js end up as part of image? Do we still need vendor_pull command? Or does Railway work differently?
@paraworkshop
@paraworkshop 3 ай бұрын
Awesome thanks. requirements.txt didn't want to install first, needed to save the file first 😅
@UkashaHacksCommunity
@UkashaHacksCommunity 6 ай бұрын
i wanted to be the first commentor. but. hahahaha, just 😀 thank mitchel
@CodingEntrepreneurs
@CodingEntrepreneurs 6 ай бұрын
It’s the thought that counts 😏
@speecial4134
@speecial4134 4 ай бұрын
i cant logout and i didnt understand why {% include "account/_button.html" with text=signout_message %} Error during template rendering
@jermainejackson5716
@jermainejackson5716 6 ай бұрын
Thanks for the content. Would this subscription model make sense for like a bookmark app ie. let users categorize useful URL links they find, decide if they want to make them public, share them with other users, maybe use generative AI to recommend links and collections of links of other users that are public?
@joeljunior1119
@joeljunior1119 3 ай бұрын
This guy is a Saint!
@mattkurantowicz
@mattkurantowicz 6 ай бұрын
Do you have sample live application to test that? I would like to test that SaSS before I jump to GitHub, cause I'm not a proficient programmer.
@bhouteshdivecha4331
@bhouteshdivecha4331 5 ай бұрын
Can you release tuts on django-inlinecss for email template which involves bootstrap 5 and semantic ui and loops in template?
@astronomicalcorvo1971
@astronomicalcorvo1971 3 ай бұрын
I'm not able to run `python manage.py collectstatic` because the flowbite.min.js file has `//# sourceMappingURL=flowbite.min.js.map` at the very end and Django is attempting to find it. I could remove that portion of the .js file but it would involve making a script to strip that through regex. Did I miss something along the way?
@astronomicalcorvo1971
@astronomicalcorvo1971 3 ай бұрын
I just added the .map to my list of staticfiles, turns out it exists if you just add .map to the end of the .js url Edit: Had I just watched a couple more minutes I would have seen you address this... Glad I figured it out on my own at least lol
@Knight_Alonne
@Knight_Alonne 5 ай бұрын
Please make separate tutorial on Django allauth+React with authentication
@spotnuru83
@spotnuru83 6 ай бұрын
you have run DEBUG = True from command prompt, but when i try the same in windows command promt it is throwing error.. so there must be another way, do you know anything about it? if so please let me know
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН