Examples of full Ponzu systems, scripts, data files, and more to demonstrate and test features
News includes a demo featuring a news/publication with articles and authors as content types.
The types implement item.Pushable
and db.Searchable
to demonstrate the HTTP/2 Server Push and full-text search support. To test the HTTP/2 Server Push feature, you must run ponzu with the --dev-https
flag like so:
$ ponzu run --dev-https
- This generates self-signed certificates and starts up a TLS server, which is required by HTTP/2.
The Docker example includes an nginx container which proxies /admin
and /api
into the ponzu container.
Please feel free to contribute your own examples. They help the community and save people time! Please follow the format specified above, and keep your example up to date with new versions. Thanks!