Skip to content

Repository Structure

The only requirement of the platform on the structure of the source code is the existence of a Dockerfile in the root folder. To perform the build, the platform simply builds an image from this Dockerfile and starts a container. However the provided templates typically have the following structure:

  • a frontend folder
  • a backend folder
  • a shared folder for types/code shared between frontend and backend

The frontend and backend typically have a lib folder somewhere in the source folders. This folder contains utilities and infrastructure provided by the template. The idea is to not modify the code in this folder, such that a it can easily be replaced with a newer version at a later time.