Re:Ask HN: What is the best way to distribute static content...
by dtagames on Wednesday December 07, 2022 @12:24AM
(#33890902)
Another option is Firebase which uses a simple set of rules (on their server, not in your app) to control access to individual data points. The cloud hosting service has easy CLI tools to setup and deploy a static site.
[ Parent
| on HN ]
Re:Ask HN: What is the best way to distribute static content...
by MobileVet on Wednesday December 07, 2022 @08:48PM
(#33903061)
Interesting... I hadn't considered Firebase as I was hoping to go serverless. It may be the easiest user auth system to setup though and the follow on access controls could be handy.
Re:Ask HN: What is the best way to distribute static content...
by dtagames on Thursday December 08, 2022 @09:05AM
(#33907971)
They offer serverless hosting as well. You can develop and build your site with a dev server like Vite.js (with hot reload in the browser), then build and push to Firebase with two CLI calls. Just the JS/HTML/CSS winds up on the Firebase host and you don't need any "server" running. It's terrific!