Clone the project and install dependencies
git clone https://github.com/the-syndrome/codename-meltdown.git my-site
cd my-site
npm install --ignore-scripts
npm rebuild esbuild
Copy the environment variables and optionally customize it
cp .env.example .env
It's optional but recommended to follow the PocketBase guide.
Run the development build
npm run dev
In ./src/client/imba
you'll find the client build that is run in the browser. That is a good place to start with the design and content.
The pages in ./src/pages use Convention Routing.
The server is in ./src/server.imba
and it's responsible for getting data and rendering the pages. It works how you might expect with a router and request-response pattern.