An Express and Mongoose API prototype for school-dropout research, separating surveys, templates, and completed survey records alongside user, role, permission, and authentication modules.
Architecture
Express mounts survey, survey-template, perform-survey, authentication, user, role, and permission routers.
Separate Mongoose models represent surveys, templates, and completed survey records with school and location fields.
Survey services call Mongoose create, find, update, and delete operations with common service-error handling.
Application middleware includes request sanitization, compression, rate limiting, and database connection handling.
Implementation status
Automated test scripts exist, but no checked-in test files establish passing coverage.
No live deployment, hosted API documentation, or research outcomes were verified.
The completed-survey model contains domain-specific school and location fields; this is not evidence of a general-purpose form builder.
Management endpoints and external integrations require authorization and runtime validation before production use.
The source repository is private.