Cat Lover#45
Open
mkourogiorgas wants to merge 17 commits into
Open
Conversation
- Added Vite for fast React development. - Installed main dependencies: - Installed dev dependencies: - Added favicon and image assets. - Fixed dev dependency files and configuration.
- Import and test all API calls (fetchRandomCats, fetchAllBreeds, fetchCatImageById, fetchImagesByBreed) - Configure env variables - Add axios interceptor
- Set up routing with React Router for gallery, breeds, and favourites - Add modal and breed modal routes for nested navigation
- Implement domain-based slices for gallery, favourites, and breeds
…or components - Implement Gallery view with lazy loading and Redux integration - Add modular Card component - Add reusable ErrorMessage and LoadingSpinner components
- minor redux store fixes
- Updated import order rules in eslint.config.js for consistent imports - Extracted shared view layout styles to viewsLayout.module.css and updated all views - Removed console.log statements from Redux slices - Refactored custom hooks for clarity and best practices
- Add Modal and BreedModal with custom hooks for state management - Separate UI into subcomponents - Centralize constants and utility functions for maintainability - Handle loading, error, and empty states
- Added analytics dashboard view - Implemented localStorage persistence for analytics, breeds, and favourites - Integrated multiple charts in analytics to showcase user behavior
…tics, breeds, favourites) and some utility functions (breeds, analytics)
- Fix navigation bug - Modify CSS for improved layout and appearance - Update favicon
- fix import order by running eslint fix
- Added vercel.json for proper SPA routing - Ensured production build works for all client-side routes - Fixed deployment issues on Vercel
Updated the README to include images and live demo link.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cat Lover – React Challenge Submission
Hi everyone,
This PR contains my completed solution for the React Challenge.
The project includes:
I’ve also added a few enhancements such as analytics tracking and smart caching.