Prototype
Summary
This release establishes the first functional baseline of Lucy-API. It introduces Discord authentication, restructures the codebase into modular apps, and formalizes API routing for bot and dashboard features while improving deployment readiness.
Highlights
- Project Baseline: Initial production-oriented API foundation with Docker and deployment workflow updates.
- Discord Authentication: Implemented and stabilized Discord auth flows, including callback and redirect URI fixes.
- Modular App Structure: Refactored from a single app layout into dedicated modules under
apps/. - Routing Expansion: Added and organized bot, dashboard, and health endpoints for clearer API boundaries.
Added
- Added
apps/_authmodule with app configuration, routes, views, and base tests. - Added dashboard-related API endpoints.
- Added bot routes and endpoint structure.
- Added health check endpoint for service monitoring.
- Added Discord integration utilities under the API module.
- Added migration updates for
Guildmetadata fields (banner,icon).
Changed
- Reorganized project structure from legacy app paths to modular
apps/layout. - Updated root URL configuration to support split auth/API routing.
- Updated deployment-related configuration in Docker and workflow files.
- Updated README and startup/deployment project documentation.
Fixed
- Fixed Discord auth flow issues across multiple callback and redirect scenarios.
- Fixed production host configuration issues (
ALLOWED_HOSTS). - Fixed
GuildViewretrieval behavior. - Fixed Docker Compose setup inconsistencies.
- Fixed merge artifacts and duplicate-line cleanup from earlier merges.
Breaking Changes
- Internal Project Structure: Legacy paths under old app locations were moved to
apps/_authandapps/api. - Routing Layout: API and bot route organization changed from the initial prototype setup.
Deployment/Infra
- Updated GitHub Actions deployment workflow.
- Improved container configuration in
Dockerfileanddocker-compose.yml.