Data Models
Mongoose models for User (profile, auth, roles), Application, Role, Permission, Session, FeatureFlag, and related schemas. Validation and indexes defined in the schema.
Summary and field details: docs/architecture/data-models.md in the hacker-portal repo. For backups and migrations, see Database — Models and schema and Migrations.
Related: Database overview, API overview