miguelgrinberg posts
New benefit: Discord chat
Hello Patrons,I have added a new perk that I hope you'll enjoy. There is now a discord chat channel where you can chat with me and other patrons. For now I'm going to keep it informal, if you have a question or comment just post on the channel. If there is enough interest I'm open to do "office hour"...
New blog post: Fixing ALTER TABLE errors with Flask-Migrate and SQLite
In this article and video I show you how to fix the common upgrade and downgrade errors that occur with the SQLite database. I hope it is helpful!
Blog post: Access Localhost From Your Phone Or From Anywhere in the World
Have you used ngrok before? This tool allows you to connect to your application running on localhost from your phone or from any other device. In this article and video I show you how to use ngrok standalone, and also how to integrate it with a Flask application.
New Post: Handling File Uploads with Flask
As always, I look forward to your feedback on this article. Thank you so much for your support!
New blog post: Introduction to JavaScript Arrow Functions
This is a short tutorial on the arrow function syntax for defining JavaScript functions. This style provides a more compact function header that is great for callbacks.
Using Trailing Commas in Python
This is a quick video that I decided to record after a discussion with a colleague who thought I had a typo in some code that was correct. I hope you enjoy it!
Blog Post: Intro to JavaScript Promises
In this post, you'll learn how to implement asynchronous JavaScript functions using promises and the newer async/await syntax similar to Python's.Feedback is always appreciated, feel free to comment down below!
Introduction to Terminal Multiplexing with Tmux
This is a follow up to the vim video, in which I describe my tmux setup and how I combine it with vim.My tmux.conf file is here: https://gist.github.com/miguelgrinberg/19f7b1d74ae33fd622e080d43dc03ea8
Video: Setting Up Vim to Work with Python Applications
My .vimrc configuration: https://gist.github.com/miguelgrinberg/527bb5a400791f89b3c4da4bd61222e4
How to add Flask-Migrate to an existing project
My new blog post is ready here!
How To Create a React + Flask Project
My new post on creating a combined React + Flask project is up on the blog!.
3rd part of my decorator series
The 3rd installment of my decorator series is up on the blog for your enjoyment. You can access it here. If you have any comments or feedback please let me know below in a comment.As always, thank you so much for your support!
Second Post in my Decorators Series
The second article in my decorator series is now available. Check it out here!
Blog post: MicroPython and the Internet of Things, Part 6
Click here to access the 6th and last installment of my MicroPython tutorial. Enjoy!
Configuring a Flask App for Visual Studio Code
Hello patrons,Here is a video in which I show how to configure a Flask app to run inside Visual Studio Code. Let me know what you think!Thanks!Miguel
Blog post: MicroPython and the Internet of Things, Part 5
You can access the 5th installment of my tutorial series on my blog. Enjoy!
Blog post: MicroPython and the Internet of Things, Part 4
You can access this article here. Enjoy!
MicroPython and the Internet of Things, Part III: Building a MicroPython Application
You can read the draft of the 3rd installment of my MicroPython tutorial series here. Enjoy!
Blog post: Decorating Python, Part I
The first part of a new series of posts on Python decorators is now available on my blog. Read it here!
Blog post: MicroPython and the Internet of Things, Part II
You can access the second installment of my MicroPython course here. Enjoy it!
Blog post: MicroPython and the Internet of Things, Part I
This is the first of a series of articles on MicroPython. Click here to access the article on my blog. Enjoy!
Blog post: Running a Flask Application as a Service with Systemd
Click here to read this post on my blog!
Blog post: Nested Queries with SQLAlchemy ORM
Click here to read this article on my blog!
Blog post: How To Make Python Wait
Click here to view this post on my blog!
Do You Want To Review My Blog Posts?
It was suggested to me that a good way to reward people who sign up as patrons is to provide them with early access to my blog posts and give them a chance to review them.I think this is actually a pretty good idea. The benefit of using my own blogging platform is that I can make it do whatever I want, so after spendin...




