A Node.js application serving a RESTful API providing the following endpoints:
- GET /records: privide the list of records saved in the sqlite db with parameters for pagination;
- GET /aggregate: Provide stats on the basis of the aggregation parameters "age", "education_level_id" or "occupation_id";
- GET /csv: download a CSV file containing all the records.
The documentation of the API is provided here.