Portfolio Website

A showcase of my web development python projects

Posted by CM-WebDev on November 01, 2025

About

This website serves as the central hub for showcasing my Python and web development projects. It is built on a robust, production-ready full-stack architecture that highlights best practices in deployment and system administration.

Tech Stack & Architecture

  • Backend: Python (3.12+) and the Flask micro-framework.
  • Database: A relational PostgreSQL database, securely hosted on a DigitalOcean Managed Database, accessed via psycopg2.
  • Frontend: Standard HTML5, modular CSS utilizing Bootstrap 5, and dynamic page rendering using Jinja templates.

Deployment

The site is deployed on a DigitalOcean Droplet (Ubuntu 22.04) using a modern, scalable setup:

  • WSGI: Gunicorn runs the Flask application efficiently as a systemd service.
  • Reverse Proxy: Nginx is configured as a reverse proxy, handling the cm-web.dev domain, serving static files directly, and proxying dynamic requests to the Gunicorn Unix socket.
  • Security: Mandatory HTTPS is enforced via an SSL certificate obtained using Certbot and Let's Encrypt.
The entire codebase is managed using **GitHub** for version control.

You can find it here: cm-web.dev