Skip to content

Torino, Italy

Emanuele Parrella

I build self-hosted infrastructure and web apps: from a Zero-Trust homelab to a shift planner in production at a care home.

Management Engineering student at Politecnico di Torino · B.Sc. expected 2027 · M.Sc. in Software Engineering planned

01 / Featured project

Project Nexus

My self-hosted, Zero-Trust homelab

Oct 2026 – Present

A home server I built to learn DevSecOps hands-on. Every service runs in its own Docker container behind one reverse proxy, and nothing is reachable from the internet: I get in through a VPN.

  • Python
  • FastAPI
  • Next.js
  • PostgreSQL
  • Docker
  • Traefik
  • Proxmox
  • Tailscale
  1. No open ports

    The router forwards nothing. Every request arrives through the Tailscale VPN; outside it, the services do not exist.

  2. Real HTTPS on private subdomains

    Each service has a subdomain of my own domain with a valid Let's Encrypt certificate, issued without opening a single inbound port.

  3. Hardened and tested

    Every container runs as non-root on a read-only filesystem with no Linux capabilities, and 600+ pytest tests run before each deploy.

How it is secured, in detail
  1. No open ports

    The router forwards nothing and the server, SSH included, is reached only through Tailscale. Public DNS points to a private Tailscale IP, which leads nowhere outside the VPN.

  2. One way in

    Traefik is the only container that publishes ports. A shared IP allowlist answers 403 to anything outside the private network before a request reaches an app.

  3. Certificates without inbound traffic

    Let's Encrypt certificates are issued with the DNS-01 challenge through the Porkbun API, so HTTPS works on services nobody outside can reach.

  4. Isolated databases

    Each service has its own database on a private network of its stack: the proxy cannot see it.

  5. Hardened containers

    Non-root user, read-only filesystem, all Linux capabilities dropped and no-new-privileges; writes only to dedicated volumes and a size-limited tmpfs.

  6. Outbound-only bot

    The Telegram bot uses long polling: it calls Telegram, so no port is open for it, and it answers only authorised user IDs.

  7. Secrets out of Git, tests before deploy

    Only .env.example files are committed and each container gets only the variables it needs. 600+ pytest tests, including checks on the Docker files, run before every deploy.

Project Nexus architectureMy devices reach the home server only through the Tailscale VPN; the public internet has no inbound ports. On a Proxmox host, a Debian 13 VM runs Docker. Traefik is the single entry point, terminating HTTPS and applying an IP allowlist. Behind it, on the internal nexus-net network, run Fin-Engine, Transcriber, Quiz-Engine and Ads Automator (in development), each with its own isolated storage. Every container runs as non-root with a read-only filesystem and no Linux capabilities. Outbound only: Porkbun DNS points subdomains to private Tailscale IPs, and Let's Encrypt issues certificates through the DNS-01 challenge.Your deviceslaptop · phonePublic internetno inbound portsTailscale VPNWireGuard tunnelPROXMOX VE · DEBIAN 13 VM · DOCKERTraefik · the only open doorHTTPS (Let's Encrypt) · IP allowlist → 403nexus-net · internal networkFin-EngineNext.js · FastAPIown PostgreSQLTranscriberFastAPI · FFmpegTelegram bot ↗Quiz-EngineFastAPI · PWAown PostgreSQLAds Automatorin developmentencrypted SQLiteEvery container: non-root user,read-only filesystem, no capabilitiesoutbound onlyPorkbun DNSsubdomains → private IPsLet's Encryptcertificates via DNS-01

Tap, hover or tab to a part of the diagram to see what it does.

Nexus is private by design, so there is no public demo. The diagram shows how it is put together.

Engineering decisions

  • DNS-01 certificates instead of opening ports 80 and 443

    Let's Encrypt checks a DNS record set through the Porkbun API, so private services get valid HTTPS without ever being reachable from outside.

  • The shared IP allowlist lives in Traefik's file provider, not in container labels

    A middleware defined in labels exists only while Traefik re-reads that container; when it does not, every router using it fails with a 404. A watched file loads on its own and applies changes instantly.

  • Exact versions (==) for every Python dependency

    Production runs exactly what passed the tests: no surprise upgrade, and no package published yesterday slipping into a build.

  • Two REST calls with httpx instead of the official google-ads library

    The library brings gRPC and Protobuf, tens of megabytes of native code, for what are two read-only endpoints.

Modules

  • Fin-Engine

    Complete

    Tells me how much each hour spent on a project actually earns, net of costs.

    Projects, a ledger with recurring entries and time tracking, with KPIs such as net profit, burn rate and hourly ROI computed in SQL.

    Real data from mid-December 2026; a news section fed by the News Aggregator is planned.

    • FastAPI
    • PostgreSQL
    • Next.js
  • Transcriber

    Complete

    I send a voice note on Telegram and get the text back.

    Also has a web UI and an API. Long recordings are split with FFmpeg; on errors it retries, then fails over to a backup provider and resumes from the failed chunk.

    • FastAPI
    • FFmpeg
    • Groq Whisper
  • Quiz-Engine

    Complete

    I study for my courses with AI-generated quizzes and spaced repetition.

    An installable web app with multiple-choice questions, worked exercises, Leitner boxes and statistics. Works with any course without code changes.

    • FastAPI
    • PostgreSQL
    • PWA

In progressAds Automator reads each freelance client's Google Ads metrics through OAuth2. Paused while waiting for Basic access to the Google Ads API.

02 / Other projects

A production app and a university project

  • Shift-scheduling web app

    Oct – Nov 2026

    In production at a care home

    Problem
    A care home needs a monthly staff rota that respects rest after night shifts, rotates public holidays fairly and keeps everyone's hour totals right.
    What I built
    A password-protected monthly planner: shifts and absences in a few clicks, an automatic rest day after every night shift, holiday rotation history, automatic hour totals with manual overrides, Excel-ready CSV export and database backups.

    It holds real staff data, so it stays private: no screenshots or demo.

    • Next.js
    • TypeScript
    • Prisma
    • PostgreSQL
    • Vercel
  • Animal shelter platform

    2026

    University project, Politecnico di Torino

    Problem
    A cat shelter needs one place to manage adoptions and volunteering: staff add the animals, visitors book get-to-know visits and sign up for volunteer shifts.
    What I built
    A PHP JSON API, JavaScript validation on every form and a React gallery with search and sorting. Security: password hashing, CSRF tokens, prepared statements, session-fixation protection and locks against double bookings.
    • PHP
    • MySQL
    • JavaScript
    • React

03 / Selected work

Websites built to bring in calls

Six small businesses in Torino, most of them emergency repair services.

Each one got the same complete setup from me.

  1. A website people find nearby

    Built and put online with hosting and domain, and set up for Local SEO so it shows up in local searches.

  2. Every call counted

    Google Tag Manager records each call and WhatsApp click from the site, so the owner sees what it brings in.

  3. Its own Google Ads campaign

    A campaign for that business alone, measured on those tracked calls and messages.

04 / Skills & education

What I work with

Programming
Python · TypeScript · JavaScript · Java · PHP · SQL · HTML/CSS
Frameworks & Data
FastAPI · Next.js · React · Prisma · SQLAlchemy · PostgreSQL · MySQL · pytest
Infrastructure
Docker · Traefik · Proxmox · Linux (Debian) · Tailscale · Git · Vercel
Web & Marketing
Google Ads · Google Tag Manager · Local SEO · WordPress
Languages
Italian (native) · English (B2, IELTS in progress)

Education

  • Politecnico di Torino · Expected 2027

    B.Sc. in Management Engineering (L-8); planned M.Sc. in Software Engineering

    Relevant coursework: Computer Science in Python (30 cum laude), Object-Oriented Programming in Java (29/30), Operations Research (28/30), Databases, Web Applications, Computer Networks (SDN, P4).

  • ITIS Galileo Galilei, Imperia · 2023

    Technical High School Diploma in Computer Science

    Networking, Java and C++ programming.

05 / Contact

Get in touch

Email is the best way to reach me, and the CV has the full picture.

This site's source is on GitHub. Nexus is private for now; more repositories are coming.