SvelteKit API Starter
REST API starter with organized endpoints, middleware, request validation, and error handling.
Tech stack
SvelteKitZodTypeScriptSupabase
What's included
- RESTful API endpoints with CRUD operations
- Request validation with Zod schemas
- Authentication middleware with JWT
- Centralized error handling
- Rate limiting per endpoint
- API documentation page
Start with this prompt
Create a REST API with SvelteKit that has CRUD endpoints for a resources collection, Zod request validation, JWT authentication middleware, and error handling.