Sveltekit Api Generator

screenshot of Sveltekit Api Generator
express
svelte
vite

Generates a Swagger UI and API client based on your SvelteKit API endpoints in +server.ts files

Overview:

The project aims to provide type-safety for SvelteKit's API endpoints by generating an OpenAPI schema and Swagger UI. It also generates a type-safe client library for the API. The project uses a Vite plugin to achieve this functionality. It is currently in the early stages of development and not ready for production use.

Features:

  • Type-safety for SvelteKit's API endpoints
  • Generation of OpenAPI schema
  • Swagger UI to explore the API
  • Generation of type-safe client library
  • Vite plugin integration

Summary:

The project provides type-safety for SvelteKit's API endpoints by generating an OpenAPI schema and Swagger UI. It also generates a type-safe client library for the API. The project is still in development and not ready for production use. Contributions are welcome.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.