- Implement Discord OAuth2 login
- On successful login:
- Check if user exists in DB
- If not, generate API key and save user
- If yes, fetch existing API key
- Generate secure, random API key
- Store user ID β API key mapping in MongoDB
- Allow key regeneration
- Provide copy-to-clipboard button
- Show generated API key
- Display:
- Key status (active/inactive)
- Add βRegenerate Keyβ button
- Add βCopy Keyβ button
- Add test input field (e.g., for raw text)
- Show API endpoint (copyable)
- Display example output after calling endpoint