# Cresslet > Deploy small web apps (static client + optional fetch-handler server with SQLite, files, secrets). Each app is sandboxed on .. ## Fastest path (CLI) - `npx github:ODumpling/cresslet-cli new my-app --api ` then `cd my-app && npm install` - Edit `src/` (client) and `server/index.ts` (`export default { fetch(req, env) }`, gets `/api/*`) - `npx cresslet deploy --api ` → prints URL. Then `npx cresslet logs`, `npx cresslet db`. - Read the app's AGENTS.md for rules. ## Raw HTTP - POST /v1/deploys {"files":[{"path":"index.html","data":"

hi

"}],"server":""} → {app.url, deployKey} - Reuse: same body + "app":"" + header X-Cresslet-Deploy-Key. - GET /v1/apps//logs, GET /v1/apps//db ## Docs - [App format](https://github.com/ODumpling/cresslet/blob/main/docs/app-format.md) - [API](https://github.com/ODumpling/cresslet/blob/main/docs/api.md)