Portfolio
All projects

LiveTypeScriptStable

Adorio

My own platform at oakar.dev. It runs this portfolio and my apps, like Social, Coding Challenges, and Hosting, under one domain. I build, host, and deploy all of it.

Result

Running since February 2025. Every push to main is tested against production containers and deployed with no manual steps.

The oakar.dev home page, this portfolio, laid out like a code editor.

Built with

The problem

I kept building small apps and wanted them under one domain, deployed automatically, and still up when the main server has a problem.

What I built

Solo project. I built the Express backend, the Next.js frontend, login with refresh tokens, and all of the infrastructure.

How it works

  • The backend is split into controllers, services, models, and schemas. Zod checks every request, and login, posting, likes, and code runs each have a rate limit.
  • One container runs Nginx, the Express API, and the Next.js server on Azure Container Apps, with health checks and scaling from 1 to 3 copies.
  • GitHub Actions checks format and lint, builds, runs integration tests against production containers, deploys to Azure without a stored password (OIDC), waits for the health check, and clears the Cloudflare cache.
  • The Azure setup is written in Bicep, with a $150 monthly budget and spending alerts.

Key decisions

  1. 01

    One container for the whole site

    Nginx, the API, and the Next.js server ship as one image and talk over localhost, so a deploy is one image and one health check.

  2. 02

    Failover instead of a second region

    A Worker and a backup copy on Northflank keep the site up during an Azure outage without paying for two Azure regions.

  3. 03

    Moved hosts as it grew

    Render in February 2025, a DigitalOcean server in May 2026, and Azure Container Apps in August 2026, once the site needed scaling, managed TLS, and deploys without SSH.

By the numbers

  • About 5 people use /social and /coding regularly, and about 20 when my class was on it.
  • Over 1,200 commits since January 2025, all mine.
  • 195 unit tests and 76 integration tests.

The hard part

The code runner. I had to design it so running it 24/7 doesn't make me go bankrupt lol, and find a way to make it work cheap.