Skip to content

Instantly share code, notes, and snippets.

@up1
Created August 4, 2026 09:25
Show Gist options
  • Select an option

  • Save up1/959f5b6560facae4ba65ca746797d13a to your computer and use it in GitHub Desktop.

Select an option

Save up1/959f5b6560facae4ba65ca746797d13a to your computer and use it in GitHub Desktop.
Req
# Web dashboard
## User Interface
* Endpoint = `/dashboard`
* Mockup UI from file `mock-ui-1.html`
## User Flow
## Input validation
## API Specification
* API for บันทึกล่าสุด
* Endpoint = `http://localhost:3000/api/recent-records`
Response with 200
```
[
{
name: 'สมหญิง รักดี',
department: 'ฝ่ายการตลาด',
time: '08:25',
status: 'ปกติ',
avatarUrl:
'https://lh3.googleusercontent.com/aida-public/AB6AXuCy1erVTFuXyMx4hLJkKVKlRirHplqwZaTkQ8XSLSRJq1ZVyQpsVsa9bHUVJ-CaYHhZOh8a8N_b1IU1GqozBaxRPBXUC_k-bDo9q5xH-eHpxaWf3F_pmCdV-GxCTNMX-xi8XFtzV1g6zLN8AjFMRhr7M7UmxOzkfW1XmdVib0TaGtvtzeivXd5y607P4k4nCQ8TwbG0F07f59NAW33kFoSxVvINSHDqbMH74lhX5iw4KyVmHYtzVkqt',
},
{
name: 'วิชัย ใจสู้',
department: 'ฝ่ายไอที',
time: '08:45',
status: 'ปกติ',
initial: 'ว',
}
]
```
## Test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment