Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement REST API for Rick and Morty Characters
- Added CharacterController with two endpoints: - GET /api/characters/random: Retrieves a random character from the database. - GET /api/characters/search: Searches for characters by name. - Introduced CharacterService for business logic and data management. - Integrated CharacterRepository for database access. - Implemented data fetching from the external Rick and Morty API during application startup. - Configured MySQL as the main database and H2 for testing. - Added Swagger documentation for API endpoints.
- Loading branch information