fasterthanlime / refresh

Silly Fast Fresh Deploys with Rust

Home Page:https://www.youtube.com/playlist?list=PLxV2db94vuXkvZuZrx-iBvrO13dtIQ91k

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Silly Fast Fresh Deploys with Rust

This was made for the series of the same name on YouTube

It shows how to use Rust to build a TCP proxy that does Blue/Green deploys of a Fresh/Deno app, which is stored in a Postgres instance (on Amazon RDS for me, but it could be anywhere). The whole thing runs on Control Plane, who sponsored this series (thanks!)

Running this locally

Start the project:

deno task start

This will watch the project directory and restart as necessary.

See also the various tasks in Justfile - the fresh app itself isn't the most interesting part, the Rust code is.

About

Silly Fast Fresh Deploys with Rust

https://www.youtube.com/playlist?list=PLxV2db94vuXkvZuZrx-iBvrO13dtIQ91k


Languages

Language:Rust 59.0%Language:TypeScript 32.2%Language:Dockerfile 5.1%Language:Nix 2.2%Language:Just 1.6%