Example apps
An example app is a complete project. It has its configuration, its classes, its pages and its tests. You can run it on your computer in a few minutes. You can also copy it and change it into your own app.
Each app is in the folder apps/ of the Novis repository. Each app is tested with every change to
Novis, so it always runs with the current version.
- Notes saves notes in SQLite. It shows them as HTML pages and has a small JSON API. It also checks the form and has tests.
- PDF documents makes an invoice, an encrypted report and event tickets as PDF files. You can see the three files on its page.
- Chat is a chat with rooms. The browser and the server send each other messages over a WebSocket.
- Poll is a live poll. Every open page shows each new vote at once, through server-sent events.
Chat and Poll show the live features of Novis. The same nvs serve sends the pages and runs every
WebSocket and every event stream. You need no second server and no JavaScript library. Each of the
two pages also shows the proxy configuration for the app.
Before you start, install Novis. Then read the Tour if you have not written Novis before.
