Category: Web Development

Featured Image

How to Host Many Secure Websites on One Host With Docker and a Reverse Proxy

Why Use Traefik Traefik is a powerful modern reverse-proxy program that makes it easy to manage API and web gateways. Including comprehensive support for modern standards such as middleware and multiple routing groups, it streamlines process of load-balancing and routing web traffic between multiple hosts. It is often used to route traffic between docker containers […]

Featured Image

Learning FastAPI and SQLModel for API Development

Are you interested in learning FastAPI and SQLModel? I recently started a new job, and I needed to learn their tech stack. The company implements a microservices architecture, interacting with their databases through micro-apis built using FastAPI, a popular new python package for api development, using the SQLModel library as an ORM and input validator. […]

Featured Image

How to Make Auto-Updating Timestamp Fields in SQLModel

It is very common in application and database design to keep fields on a table for when a record was created and last updated. These fields are common enough that many large frameworks like Laravel handle them automatically. SQLModel is a relatively new Python library that combines the data validation of Pydantic with the ORM […]

Featured Image

How to Implement a Shopping Cart for Guest Users

So you want to implement a shopping cart for guest users? If you have ever developed an application that includes a “shopping cart” feature, you have surely been faced with the question: How should I handle shopping carts for users who are not logged in to accounts. This can be a puzzling question. It is […]