There is no code here :) The code is placed on two different branches called 'old' and 'new'.
This application is a Strapi deployment managing just blog posts and a frontend based on NextJS. The goal here is to show the differences between :
- old branch: a standalone deployment, everything is on one host
- new branch: a scallable deployment, using OVHcloud services like a managed database and an object storage service combined with stateless instances.
It's the classic pets vs cattle approach shown with a real demo. We'll export the the statefull components to managed services and we'll scalle horizontally our stateless instances.