Skip to content

Examples

Every page in this section is a working example. Each one has a simple version that fits in a few lines and a complex version that shows the shape of a real application: dynamic routes, overrides, caching, contracts, and validation.

Start with the core language examples if you are new to easeo, then jump to the framework you use.

Core library

Page What it covers
Python Config, entities, overrides, factories, async, hooks, registries, contracts
JavaScript Payloads, serialization, hooks, registries, factories, TypeScript
Rust easeo-core, schema registry, hashing, rendered HTML

JavaScript frameworks

Page Package
Next.js @easeo/next
Astro @easeo/astro
Vite @easeo/vite
Nuxt @easeo/nuxt
SvelteKit @easeo/sveltekit
React @easeo/react

Python frameworks

Page Import
FastAPI easeo.adapters.fastapi
Django easeo.adapters.django
Flask easeo.adapters.flask
Zensical easeo.contrib.zensical

Runnable files

A few examples are also committed as runnable files under examples/:

examples/
├── python_basic.py
└── node_basic.mjs
python examples/python_basic.py
node examples/node_basic.mjs

The framework examples assume you already have a project scaffolded with that framework. For setup steps, see the matching integration page.