How to use Meltdown

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

Open http://127.0.0.1:33765

Client entry

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.

Pages

The pages in ./src/pages use Convention Routing.

Server entry

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.