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

Complete Flutter Challenge - Luis Guerrero #12

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

iLukas28
Copy link

Overview

This pull request contains the completed solution for Superformula's Flutter coding challenge. The project is a well-structured and tested Flutter application that demonstrates key practices in Flutter development, such as state management, local data persistence, and testing.

Key Features:

  • State Management: Implemented using Cubit from flutter_bloc package.
  • Local Data Persistence: Handled using HydratedBloc to store user's favorite restaurants locally.
  • Test Coverage: Included unit tests and widget tests demonstrating the use of bloc_test and mocktail for state management and interaction testing.
  • API Integration: Uses Yelp's GraphQL API to fetch restaurant data with the ability to mock data using an .env configuration.

The README file has been updated to include information about the app structure, setup instructions, and key points to consider when running the project and tests.

- Added AppBlocObserver to handle logging for Bloc changes and errors.
- Configured bootstrap to initialize HydratedBloc storage and run the app.
- Integrated RestaurantRepositoryImpl and FavoriteCubit within main.
- Added new constants and exception handling for restaurant-related data.
- Implemented restaurant GraphQL queries and models.
- Refactored restaurant repository with repository pattern.
- Added external data sources for restaurant data management.
- Deleted obsolete restaurant models and related generated files.
- Removed old query and typography files no longer in use.
- Cleaned up redundant test files for cubits, views, and widgets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant