···11+# api-toolkit
22+33+A lightweight SvelteKit starter focused on building and testing API-driven UIs. Includes a small set of utilities and an example fetch helper to get you started quickly.
44+55+**Quick Start**
66+77+- **Install:** Run `npm install` (or `pnpm install` / `yarn`).
88+- **Dev:** Start the dev server with `npm run dev` and open the app in the browser.
99+- **Build:** Create a production build with `npm run build` and preview with `npm run preview`.
1010+1111+## What you'll find
1212+1313+- Minimal SvelteKit app scaffold with routes under `src/routes`.
1414+- A small helper for API fetching at `src/lib/tcapifetch.ts` and component examples in `src/lib`.
1515+- Static assets served from `static/` and global styles in `src/app.css`.
1616+1717+## Development
1818+1919+1. Install dependencies:
2020+2121+ npm install
2222+2323+2. Start the development server:
2424+2525+ npm run dev
2626+2727+3. Open the app at the address shown in the terminal (usually http://localhost:5173).
2828+2929+Tips:
3030+3131+- Edit pages in `src/routes` to add views.
3232+- Add reusable components to `src/lib` and import them into routes.
3333+3434+## Build & Deployment
3535+3636+- Build for production: `npm run build`.
3737+- Preview the production build locally: `npm run preview`.
3838+- For deployment, add the appropriate SvelteKit adapter for your target platform (Vercel, Netlify, Cloudflare, etc.). See the official SvelteKit docs for adapter setup.
3939+4040+## Project structure (key files)
4141+4242+- `src/routes/` — App routes and pages.
4343+- `src/lib/` — Reusable components and helper utilities (e.g. `tcapifetch.ts`).
4444+- `src/app.css` — Global styles.
4545+- `static/` — Static assets served at the root of the site.
4646+- `svelte.config.js`, `vite.config.ts`, `tsconfig.json` — Project configuration.
4747+4848+## Contributing
4949+5050+- Open an issue or submit a PR with improvements or fixes.
5151+- Keep changes focused and document new public utilities in the README or as inline docs.
5252+5353+## License
5454+5555+Specify your project license here (e.g. MIT) or add a `LICENSE` file.
5656+5757+---
5858+5959+If you'd like, I can:
6060+6161+- run the dev server and confirm the app starts, or
6262+- add a short usage example showing how to use `src/lib/tcapifetch.ts` in a page.