Introduction
What Total.js OpenReports is, how views and reports work together and where to start.
On this page
Total.js OpenReports is a small app for making simple reports from a PostgreSQL database. You describe your data once, then anyone who uses the app builds reports with a few clicks: pick the columns, group them, add filters and sort the result. You can look at the data in the browser, export it to CSV or Excel, or read it from other programs through an API.
How it works
OpenReports has two building blocks:
- Views. A view is an SQL query plus a list of the columns people may use, with a name and a type for each one. You write views once. See Create a view.
- Reports. A report uses one view. It chooses the fields to show, how to group and total them, which rows to keep and how to sort them. See Create a report.
OpenReports only reads the data that your views select. It keeps its own settings, views and reports in one file on the server.
What to read next
- Install OpenReports from source or with Docker.
- Open the app: First access.
- Connect it to your data: Connect the database.
- Describe your data: Create a view.
- Build your first report: Create a report.
- Before you go live, read Run in production and Back up OpenReports.