Category

Web Apps

Why I switched to using Caddy + Uvicorn for python web projects instead of Nginx + uWSGI

For each python app I build, the server deployment always seems to be the most difficult part! As well as Python we need some kind of python server (uWSGI) and a web server AND getting the SSL certs…. I guess… Continue Reading →

How to style Django allauth pages

For my latest web app I’m using Django allauth, a plugin which allows you to easily add loads of different providers (Google, Microsoft, Apple – and more than 100 others at current count) to authenticate users. It saves a lot… Continue Reading →

14 Key Components for a Full Stack Production Deployment Python Web App

An outline of 14 key components that are needed for a full stack production deployment of a commercial user-facing Python web app, with some recommended options.

Deployment using Ansible and Pyenv (Django web app with Ansible & docker deployment – Part 3)

As part of this series on creating and deploying a full stack web app, I’m using the Django web framework. Django has pre-designed parts for you compared to Flask which I’ve used previously. That saves some development time, although it… Continue Reading →

Setting Up Django Cheat Sheet (Django web app with Ansible & docker deployment – Part 2)

A cheat sheet / reference for the minimum basic Django project.

Options for Continuous Deployment (Django web app with Ansible & docker deployment – Part 1)

For the first python web app I created, most of the tricky parts and learning came with trying to deploy it to a server, which result in lots of trial and error, and writing down a huge long list of… Continue Reading →

Raspberry Pi SMS to email gateway – Part 4

In this final part, we’ll complete the gateway by setting up our relay to send an sms by sending an email. 1. Setup DNS and Mailgun I part 3 we already partially setup mailgun, but now you’ll need to add… Continue Reading →

Responding to a Chargify webhook with a python-flask API

It’s cool to be able to interact with publicly available API’s so you can grab weather reports, live travel updates or access your twitter feed. But even better, it’s actually pretty straightforward to create your own API using python and… Continue Reading →

What is a Webhook?

A Webhook is kind of the inverse of an web API. Whereas a web API responds to an HTTP request, a webhook makes an HTTP POST to an API endpoint in response to some event. Webhooks have started appearing as… Continue Reading →

Accessing a Web API using JavaScript in a web page

There’s a previous AndyPi article on accessing the TfL (Transport for London) bus API using python, and displaying the result on an LCD. Although its a fun project, almost everything these days ends up having a web browser as the… Continue Reading →

© 2025 AndyPi — Powered by WordPress

Theme by Anders NorenUp ↑