Learn, Build, and Earn. Coding Entrepreneurs is here to help you learn the skills you need to build the projects you want. Learn by doing everything we do step-by-step. Practical and hands-on. Let's do this.
💽 Code: github.com/codingforentrepreneurs 🚀 Enroll. Learn to code. Launch your project: cfe.sh/enroll 🚀
Can you do a series on Networking and Cloud architecture for Developers Like AWS, Teraform, etc Also, I would like to suggest the most important networking concepts all developers should know
This integration of stripe is insecure. Somebody could start a purchase and then manually send a request with their purchase ID to the success url. This would set purchase.completed = True without the payment going through. The official docs use webhooks to confirm when a payment has been completed.
@@CodingEntrepreneurs consider looking into setting up payments for SaaS, specifically lean using Stripe payments? Can we look into including a token or actions tracker to track paid subscribers actions and allow for profitable business models to develop? Special thanks, you have been very helpful to me.
Thanks for watching! Code: github.com/codingforentrepreneurs/django-iot-with-timescaledb Chapters: 00:00:00 - Welcome 00:02:44 - Demo 00:07:12 - Requirements 00:10:15 - Setup Django Project 00:16:03 - Priority Dotenv Helper for Python Decouple 00:22:55 - TimescaleDB via Docker Compose 00:34:42 - Integrate TimescaleDB with Django 00:45:51 - Create a TimescaleDB model with django-timescaledb 00:53:17 - Running Code outside the Request Response Cycle with Django and Celery 00:57:33 - Integrate Django & Celery 01:04:50 - Django Celery Task to Generate Fake Data 01:13:45 - Auto Schedule Tasks with Celery Beat 01:19:12 - Celery Task Queues for Individual Worker Nodes 01:29:52 - Django Project within Docker Compose 01:41:54 - Docker Compose Watch to Auto Refresh Django Container 01:47:02 - Multi-Node Celery Running on Docker Compose 01:56:00 - Configure Raspberry Pi OS for your Pi Cluster 02:03:01 - Verify Pi Installation and Create Ansible Inventory File 02:09:42 - Using Ansible to Configure our Pi Cluster for Django 02:41:10 - Production TimescaleDB 02:52:24 - Timescale DB Queries and API Responses 03:05:11 - Additional TimescaleDatabase Queries 03:13:05 - Visualizing Average Temperature Over Time 03:17:18 - Visualizing Average Temperature Per Node Over Time 03:23:36 - Thank you and next steps
For anyone having trouble with the base.html file from allauth-ui github, they changed the file from the "account" directory to the "allauth/layouts" file. Create an allauth/layouts/base.html directory instead of an account/base.html
You deserve a big THANK YOU because there is hardly any content of this advanced level on RU-vid. 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!
So it seems you now have front end code all over the place e.g. in django forms and also as react. What's your reasoning for not just handling all front end stuff in the nextjs app? For example, you could have used shadcn to create the forms and validated it with zod. If you gonna have nextjs and django then I recommend you use them for exactly what they are good at, not mixing up like that.
Validation should happen on both but definitely on server side - eg your database should never have invalid data so your Django project must have validations. But yeah, client side validation is great for performance and usability but your apis need to be hardened.
@@justin9494 missing the point. This is a 6 hour tutorial to just do some very basic stuff that could be done in 30minutes, with 10% of the code. NextJS seems just another iteration of a bad idea. It doesn't solve the problem at the core.
ansible is pretty awesome, I use it all the time at work to configure more or less about 100 machines across different environments. It can get super annoying though, it’s hard to debug sometimes. Like for example recently it would completely ignore 2/3 of the tasks in one of our playbooks for seemingly no reason, even ones that don’t have any conditions that have to be met, even -vvv didn’t help 🤔
Just amazing, finished it now, I see that this helps a lot for those who doesnt want to worry much about front end dev in java script and yet get the react js based output. Hoping to see more examples on authorization , building good looking apps, how does reflex maintain along with the ReactJS Updates
At 2:00:22 mark you see that there is DJANGO_SECRET_KEY added as variable in railway which somehow was missed in the tutorial. If your deployment is failing at this point, just at the DJANGO_SECRET_KEY
Django Ninja does fundamentally less than DRF but essentially gives you FastAPI in Django which means Pydantic for serialization. DRF does all that with its own tooling. Plus the DRF class-based views require you to understand class-based views instead of just using functions. Fundamentally though, they can do the same thing. DRF is more feature complete while Django Ninja is super easy to build with.
Thank you so much, it was an amazing course. you helped me understand pretty much every aspect of DRF and even implement search using Algolia and more. I can't even say it... THANK YOU