mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-11 17:29:37 +02:00
- Add api_key column to users table with auto-migration - Modify auth middleware to accept both JWT (24h) and API keys (permanent) - Add endpoints: GET/POST/DELETE /api/users/:id/api-key - Update admin panel with API key management (generate, copy, regenerate, revoke) - Update API documentation modal to show permanent API key usage API keys use the format: nf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Use header: X-API-Key: <your-key>