ExamplesΒΆ
Sometimes the best way to learn about how something works is to look at an example. The Morepath Morepath organization on GitHub maintains the following example projects:
Example of a batching UI using server-side templates. Shows how explicit models and link generation makes it easier to implement a batching UI.
A React & Cerebral rich frontend using Morepath as a REST backend.
A React & Redux rich frontend using Morepath as REST backend.
A demonstration on how to use thejson_dump
andjson_load
directives to help implement a REST service.
Use SQLAlchemy with Morepath. This usesmore.transaction
to help integrate the two.
Usingmore.static
with Morepath to publish static resources such as.js
and.css
files.
A wiki demo for Morepath, based on the web micro-framework battle by Richard Jones.