Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution #199

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Solution #199

wants to merge 12 commits into from

Commits on Oct 23, 2024

  1. added external dto`s;

    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    9029b8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32fc375 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a8d3a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    539d5fc View commit details
    Browse the repository at this point in the history
  5. added required dependencies;

    added @JsonIgnoreProperties annotation to CreateCharacterDto record;
    added character service;
    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    0981caa View commit details
    Browse the repository at this point in the history
  6. added Character model;

    added CharacterRepository;
    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    cdfc43b View commit details
    Browse the repository at this point in the history
  7. final commit;

    -> refactoring phase
    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    5ab0797 View commit details
    Browse the repository at this point in the history
  8. refactoring phase -> done

    added swagger api;
    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    f16ef97 View commit details
    Browse the repository at this point in the history
  9. 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.
    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b63bc88 View commit details
    Browse the repository at this point in the history
  10. removed credentials;

    ShastkivRuslan committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    56f8683 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Refactored the code

    ShastkivRuslan committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    cb21bf4 View commit details
    Browse the repository at this point in the history
  2. Refactored code based on mentor feedback: replaced @DaTa with @getter

    …and @Setter in JPA entity, updated CharacterMapper for List mapping, revised exception handling in RickAndMortyClient, and improved RESTful naming conventions for controller endpoints
    ShastkivRuslan committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    e271084 View commit details
    Browse the repository at this point in the history