This video is sponsored by https://controlplane.com/
Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: https://fasterthanli.me/donate
Fresh web framework: https://fresh.deno.dev/
Contents
00:00 - Sponsor disclaimer
00:04 - Intro
00:57 - Installing Deno
01:17 - Making a new Fresh project
02:05 - Downgrading Deno because of a bug
02:25 - Port forwarding troubles (VSCode vs ssh)
03:09 - Basic app structure, Deno import maps
04:04 - JSX markup, Tailwind CSS utility classes
05:25 - Server-side vs client-side rendering
06:59 - Live-reloading
07:22 - Deno Deploy vs Docker
07:47 - Making and running a Docker image locally
08:20 - Docker ENTRYPOINT vs CMD
08:27 - Deno sandboxing (-A, --allow-net, etc.)
08:44 - Creating a Global Virtual Cloud
09:19 - Pushing to the private Docker registry
09:57 - Investigating image size with dive
10:15 - Creating a workload
11:01 - Problem: Fresh downloads esbuild from npm
11:30 - Problem: Fresh's sample Dockerfile is outdated
12:10 - Teaser