Core Deliverable

API & Database Specifications

Detailed technical specs for backend systems and data models.

REST API Specifications

Define your API endpoints before writing any backend code. This allows frontend and backend teams to work in parallel.

POST /api/v1/auth/reset-password
Request Body:{
  "email": "user@example.com"
}Response (200 OK):{
  "success": true,
  "message": "Password reset email sent."
}Response (404 Not Found):{
  "error": "User not found."
}

Database Schema (ERD)

Design the relational data model. Document the tables, columns, types, and the relationships (1:1, 1:N, M:N) between them.

Users Table
ColumnType
id (PK)UUID
emailVARCHAR(255)
password_hashVARCHAR(255)
Password_Resets Table
ColumnType
id (PK)UUID
user_id (FK)UUID
tokenVARCHAR(64)
expires_atTIMESTAMP