
In about 2024 a friend and I built the frontend of a fashion store for a client of a friend's contact. The client never launched it. I wrote that frontend myself and later recreated it as Pristine Aura (React and Express, with MongoDB, Postgres and MySQL experiments), but it stayed a half-finished demo until my cousin needed a real store for his clothing business in November 2026.
A static frontend on Netlify talks to a Dockerised API on an Oracle Cloud free-tier VM behind Caddy for HTTPS. PostgreSQL 16 holds the data, and a nightly job backs up the database and uploads.
Reviving it turned up real holes: an unauthenticated change-password route, admin routes with no protection, delete via GET, and order totals trusted from the client. Totals are now recomputed on the server, and an online payment could be claimed twice until I closed that. A hard-coded dead backend URL and a Dockerfile missing migrations and email templates were fixed too.
The frontend build was 12 MB and the home page 3.5 MB. After compressing and resizing images and trimming assets it is about 1.9 MB, with the home page near 750 KB. Framer Motion adds roughly 43 KB gzipped, which I judged worth it.
Replaced product media kept serving old URLs for 30 days because of long cache headers. Uploads now get content-hashed filenames, so a new image is a new URL.
The VM is a free-tier machine with 1 GB of RAM, so the stack is kept small: one API container, Postgres, Caddy, and nightly backups instead of anything heavier.
The store is live at pristineaura.anasvhora.tech with 24 products, working accounts, orders, Cash on Delivery checkout and email, and an admin panel the owner can run it from. It costs nothing to host.