Simple programs
Each page here shows one complete program in one file. You can copy it, run it, and change it for your own work. The output is shown below each program.
- A CSV report reads a file of sales and prints a total for each product.
- A JSON API returns a product as JSON for a request like
GET /products/2. - A file watcher prints a line each time a file changes.
- A web scraper downloads a page and lists its links.
- A form handler reads a contact form and returns an HTML page.
- A scheduled job deletes old log files every night.
A program you start with nvs run may read and write files and connect to other servers with no
nvs.toml. Work that the server runs may do less, so a page shows an nvs.toml when the program
needs one. To allow a program less, read Configuration.
If you are new to Novis, start with A Tour of Novis first.
