Case Study
Avalia
Academic assessment platform for a master's research project
- Type
- Web
- Team
- Solo
Private repository because it involves ongoing academic research data.
The problem
Built to support data collection for a master's research project: assessment forms had to be structured, responses cross-referenced in dashboards, and data exported in a format accepted by the advisor's statistical analysis tools.
Architecture and technical decisions
Next.js (App Router) with multi-role authentication via NextAuth (researcher and respondent have distinct permissions). The database is serverless PostgreSQL on Neon, accessed through Prisma with the Neon adapter — no need to manage server connections. Result tables use TanStack Table, forms are validated with react-hook-form + zod, and data export is available as Excel (ExcelJS) and CSV (PapaParse). Email notifications use Nodemailer.
Challenges
Faithful Excel export
The advisor needed to open the data exactly as structured in the research. I used ExcelJS to generate formatted, multi-sheet workbooks instead of a generic CSV.
Dashboards crossing multiple dimensions
Assessments had several criteria per respondent; I built custom aggregations before passing the data to Recharts, instead of computing everything on the front end.
Role-based permissions
Researcher and respondent access different views of the same system — solved with role control in NextAuth and server-side route protection.
Impact
Results
- •Used to collect and consolidate the master's research data.
- •Exports validated and accepted by the advisor for statistical analysis.