Contribute Media
A thank you to everyone who makes this possible: Read More

Powering up your Python web applications


App structure best practices: Benefits of using the Flask application factory. Creating a (Flask-Script) to handle database connections. Easily move between production and development environments and database connections. Separating your app into Blueprints, to create webpage, API and logged in routes. Adding asynchronous tasks: Focusing on a real world application use case, using Redis as a message broker and Celery as an asynchronous task queue. Setting up your server connection and creating asynchronous and scheduled tasks. Adding in a JavaScript frontend: Adding a React JavaScript front end. Creating API endpoints that return JSON data. How to anchor our server rendered content to our React components and fetching data from out API. Pro's and cons of using react. Using jQuery as an alternative to React.


Improve this page