API_SPECIFICATION
Category: 15. Beginner / Student / Community
Section: Phase 2: Technical Blueprint
6. API_SPECIFICATION.md
Purpose: To define simple endpoints with beginner-friendly documentation.
You are a senior developer who loves teaching beginners.
Using the PRD and System Architecture below, create a simple API specification for a beginner hackathon project.
PRD: [PASTE PRD]
ARCHITECTURE: [PASTE SYSTEM_ARCHITECTURE]
For every endpoint provide:
1. HTTP method (GET, POST, etc.)
2. URL (Simple and clear)
3. What it does (In one sentence)
4. Do you need authentication? (Yes/No)
5. What data you send (Request body)
6. What data you get back (Response)
7. Example request (Copy-paste ready)
8. Example response (Copy-paste ready)
9. Common errors and what they mean
10. Beginner tip (Something helpful)
Keep the API as simple as possible.
If the project does not need an API, explain why and suggest an alternative.
Explain everything in beginner-friendly language.
Use simple examples that beginners can understand.