This video is free to watch - hope you enjoy it! If you like what you see, there's a ton more where that came from...
Hosting
One of the very nice things about Firebase is its hosting service. It's free and comes with SSL to boot. I like to use Middleman to help build the site out, but you don't have to! Use whatever tools you like, and serve the files with firebase serve.
This is premium content - you can own it in just 30 seconds!
About Middleman and Your Site Generator
When I made these videos JavaScript frameworks (like Vue and React) were around, but their site generator counterparts (Nuxt, Gatsby, etc) handn’t been created yet. Hopefully you’ll understand the point of this video, however, which is that you can build whatever you want and place the output into the /public
directory.
Download
The Code
Code for this video (and for the entire series) can be found in the production GitHub repo.
-
Welcome!
These videos have been 3 years in the making! I started this project in the spring of 2014 with a simple idea: what could I build without having to manage a server? The results were interesting, but not overly compelling. I wanted to SELL THINGS, and doing that by knitting together various services was a pain. Then came serverless and Firebase - let's get started!
-
Introduction
What is Firebase and why should you care? The whole Serverless thing is interesting, but is it worth doing? We discuss this here.
-
Hosting
One of the very nice things about Firebase is its hosting service. It's free and comes with SSL to boot. I like to use Middleman to help build the site out, but you don't have to! Use whatever tools you like, and serve the files with firebase serve.
-
The Realtime Database
We get rolling with our site, building out the initial checkout service while getting to know Firebase.
-
Firebase Functions
Extremely simple to create with NodeJS. Simple to deploy, and fun to use, Firebase functions are incredibly flexible and fun. There are some tricks you need to know, however.
-
Authentication and Storage
In this part we tidy things up, plugging in Authentication and hooking our download service into Firebase Storage.