Project layout
camelon is zero-config for the standard layout. There is no config file — defineConfig and camelon.config.ts were removed. The framework discovers everything from the working directory.
my-app/
src/
routes/ file-based routes (folders = URL segments)
document.tsx the HTML shell around every page
server.ts bootstrap (the only required entry)
gen/ generated artifacts — commit these
public/ static assets, served at /
tsconfig.json used for type-extracted contracts
Overrides
Pass options to createHandler instead of a config file:
await createHandler({
routes: manifest,
csrf: { trustedOrigins: ['https://pay.example.com'] },
session: myStore,
db: myClient,
multipart: { fileSize: 5 * 1024 * 1024 }, // upload cap; default 10 MB
});