Example applications
These complete applications demonstrate the library in use. Clone the repository to run them locally.
TodoMVC example#
examples/todoapp contains a complete TodoMVC implementation with:
standard Effect RPC schemas and handlers;
JWT bearer authentication through native RPC middleware and a typed
CurrentUserservice;per-user storage and stream isolation, with invalid-token and cross-user end-to-end tests;
mutation-plus-query responses;
native Effect tracing and metrics through the server middleware integration;
HTTP and WebSocket servers on one route;
a live update stream; and
end-to-end tests for the full TodoMVC workflow.
See examples/todoapp/README.md for commands and entry points.
Full-stack blog example#
examples/blogapp is a blog built with Effect, Node.js, SQLite, JWT authentication, and Foldkit.
Its UI covers public reading, registration, writing and editing posts, comments, votes, and administration. The server demonstrates cookie refresh sessions, batching, transactions, telemetry, SSR, streams, capabilities, and callbacks.
See examples/blogapp/README.md for the architecture, setup, pipeline patterns, security model, and test coverage. Package issues discovered through the example are tracked in examples/blogapp/PACKAGE_AUDIT.md.