Skip to main content

EACM Lab Foraging Platform

Developer and operator documentation for the EACM Lab Foraging Platform — a full-stack web app for behavioral experiments on resource foraging (university studies at UCF and USU).

Older materials may say FIP Experiments; that is the same product under a previous name.

What the platform does​

  • Consent and multi-survey intake for participants
  • Single-player and multiplayer foraging games with live Socket.IO sync
  • Optional arithmetic stress task between game phases
  • Admin dashboard: experiment management, live monitoring, constants, simulations, data export
  • Docker-based deploy behind host Nginx on AWS EC2

Stack (current)​

LayerTechnology
ClientNext.js 16 (App Router), React 19, HeroUI, Tailwind
ServerExpress 4, Socket.IO 4, Prisma 6 (PostgreSQL)
DocsDocusaurus 3 (this site)
DeployDocker Compose + GHCR + host Nginx

Workshop path​

Read these pages in order:

  1. Local development
  2. Repository layout
  3. Architecture overview
  4. Client → Server → Realtime sockets
  5. Game engine → Data model
  6. Participant journey
  7. Deployment overview