Skip to content
  • Vue
  • Nuxt
  • Tailwind CSS
  • PHP
  • Laravel
  • REST API
  • MySQL

Fieldnote helps research teams collect survey data in the field. Customers wanted to see results while a survey was still running, instead of waiting for an analyst to export spreadsheets.

The dashboard is a Nuxt application over a Laravel API, with each customer's data kept in its own tenant.

Challenge

Survey results arrived as large CSV exports, sometimes several times a day, and every team wanted different charts. Reports were assembled by hand in a spreadsheet and emailed every Friday.

Approach

Imports were made idempotent first: each row has a stable identity, so re-importing a file updates rather than duplicates. Aggregates are computed in the database and cached per view, so charts stay fast as data grows.

Tenancy is enforced in one place, a global query scope, so no screen can forget it.

Solution

The Laravel API streams each upload through a staging table, validates it in batches and reports what happened to every row. The Nuxt dashboard lets a team build views from saved filters and chart types, and share any view through a signed, read-only link.

A scheduled job renders each team's chosen views to PDF every week and emails them to the people who asked for them.

Goals

  1. Import survey exports safely, however often they arrive
  2. Charts and filters each team can configure
  3. Share a view with a link, without an account
  4. Weekly PDF reports produced automatically
  5. Strict separation between customers

Import pipeline

An upload is streamed into a staging table row by row, so a large file never has to fit in memory. Rows are validated in batches and only then merged into the live tables, so a bad file never leaves half its data behind.

  • Each row has a stable identity, so a re-upload updates instead of duplicating
  • Every rejected row is reported with its line number and reason
  • Imports run on a queue, with progress shown in the dashboard

Fast charts at any size

Charts read pre-computed aggregates instead of raw rows. Aggregates are cached per view and invalidated when a new import lands, so a dashboard opens in the same time whether a survey has a hundred answers or a million.

The Nuxt front end requests only the series a chart shows, never the whole data set.

05 total

Key features

  1. Streaming CSV import through a staging table, safe to repeat

  2. Configurable charts, filters and saved views

  3. Read-only share links with expiry

  4. Weekly PDF reports from scheduled jobs

  5. Tenant isolation enforced by a global scope

07 total

  • Vue

    frontend

    Component-based interfaces: forms, tables and dashboards that stay fast as they grow.

  • Nuxt

    frontend

    Server-rendered Vue for sites that need to load quickly and be found by search engines.

  • Tailwind CSS

    frontend

    Utility-first styling driven by one set of design tokens.

  • PHP

    backend

    The language behind the back ends I build, written to modern, typed standards.

  • Laravel

    backend

    My main back-end framework: routing, validation, queues, authentication and the data layer.

  • REST API

    backend

    Versioned JSON APIs with one predictable response shape.

  • MySQL

    database

    Relational data modelling, indexing and queries that hold up with real volumes.

Related work

Have a project
in mind?

Let's talk.

Available for selected projects

Tell me what you are building and where it stands. I read every request myself and reply by email.