This is a proof-of-concept on how you can build and self-host a complete FaaS architecture.
This project is based on workerd, the V8-based JavaScript runtime that powers Cloudflare Workers.
And, for a real scenario, it uses Fly as cloud provider, where the FaaS is hosted. It relies on container-based deployment.
A complete guide can be found on https://www.breakp.dev/blog/build-your-own-faas
It includes everything - from setup, to test and deploy.
This is a pnpm managed repository. So, it all starts with
pnpm install
Then you can start the publisher
cd publisher
pnpm dev
and the worker
cd worker
pnpm build
pnpm start:worker
- Star the repository
- Twitter: @giuseppelt