When I first built this site (around 5 days ago!) I was keen to basically spend no money. I wanted to be able to work quickly with some tools I was already a bit familiar with (react, typescript).
It seemed like I could probably eliminate all costs, except domain registration, by:
The only cost that I incurred was the $2.88 registration fee for the StuckAt.WTF
domain from
Porkbun.
It was really quite quick to get something minimal deployed:
Hosting -> Add custom domain
to register stuckat.wtf as the domain that would be directing traffic to this site. I followed the instructions to add A records to direct traffic from cloudflarenpm init next-app
npm --save-dev install typescript @types/react @types/node
npm install -g firebase-tools
firebase init
firebase deploy
After this I had a demo app deployed to Firestore accessible over https://stuckat.wtf.
To avoid any pricing tiers, the site is served by the free tier Cloudflare CDN using CNAME records. It is configured with 'Strict' security, which means SSL is enforced between the client and Cloudflare, and Cloudflare and this site (Cloudflare trusts the Firebase issued cert). Cloudflare automatically upgrades connections to SSL.