This is a FastAPI + SvelteKit project inspired by digitros Next.js FastAPI Starter and Vercel's Next.js Flask Starter
https://sveltekit-fastapi.vercel.app/
To run the example locally you need to:
pnpm installto install the required Node dependencies.virtualenv venvto create a virtual environment.source venv/bin/activateto activate the virtual environment.pip install -r requirements.txtto install the required Python dependencies.pnpm devto launch the development server.
You can start editing the API by modifying api/index.py and learn more by taking a look to the API documentation.
To learn more about Hono and SvelteKit, take a look at the following resources:
- SvelteKit Documentation - learn about SvelteKit features and API.
- Learn SvelteKit - an interactive SvelteKit tutorial.
- FastAPI documentation - learn about FastAPI features and API
You can check out the SvelteKit and FastAPI GitHub repositories - your feedback and contributions are welcome!