An example SvelteKit project using https://github.com/semicognitive/sveltekit-modal, showing how easy it is to write Python endpoints in SvelteKit.
See the code for the example +server.py
route here. You'll see it largely mirrors the SvelteKit built-in +server.js
!
- Includes a frontend written in TailwindCSS
- Has a
api/ocr
endpoint which takes an image upload of a receipt, and does OCR on it! Inspired by the Modal OCR example