DB Sample Order Test
Use this page as a safe checklist for verifying one sample trade-core order persistence path. Do not rerun big backend code if status is 200.
Sample Test Instructions
- Create one test order through
/api/trade-core/order/create. - Verify the order appears through
/api/trade-core/orders. - Verify wallet, activity, and notification endpoints still load.
- Keep memory fallback enabled until DB reads and writes are repeatedly verified.
Endpoints To Verify
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/trade-core/order/create | Create one controlled test order through trade-core. |
| GET | /api/trade-core/orders | Verify orders are visible from DB or memory fallback. |
| GET | /api/trade-core/wallet-ledger | Verify wallet ledger endpoint is available. |
| GET | /api/trade-core/activity | Verify activity log endpoint is available. |
| GET | /api/trade-core/notifications | Verify notification endpoint is available. |