15 lines
584 B
Markdown
15 lines
584 B
Markdown
|
|
---
|
||
|
|
name: api-server data
|
||
|
|
description: Nature of the EHSAN POC api-server data store and how to reset it.
|
||
|
|
---
|
||
|
|
|
||
|
|
# In-memory mockDb
|
||
|
|
|
||
|
|
`artifacts/api-server` serves an in-memory `mockDb` (no real database). Any POST that
|
||
|
|
mutates a request (donate, verify, publish, deliver, thank-you, etc.) persists only for
|
||
|
|
the life of the process. Restart the `artifacts/api-server: API Server` workflow to
|
||
|
|
re-seed clean demo data.
|
||
|
|
|
||
|
|
**How to apply:** after running curl-based API tests that mutate state, restart the
|
||
|
|
api-server workflow before screenshots/handoff so the user sees a clean seeded demo.
|