bookwind.mov
A simple application to search for books and view their details, leveraging the Open Library API.
- React
- Next.js
- TanStack Query
- TailwindCSS
- React Hook Form
- Zod for type validation
- Zodios
- Clone this repository
git clone https://github.com/graphmatth/book-finder.git
- Install dependencies
npm install
- Run the application
npm run dev
- Visit the homepage and search for a book by title or author.
- Click on a book to view its details, including the description and author.
- Improved Search Functionality: Add filters and sorting options to refine search results.
- Favorites and History: Allow users to save favorite books and view their recent searches when the search bar is empty.
- Enhanced UI/UX for Mobile Devices: Improve the search experience; the current modal approach is suboptimal for smaller screens.
- Expanded Book Details Page: Display more comprehensive data about each book.
- Keyboard Navigation: Add support for navigating the command menu using the keyboard.
- Testing: Add unit and integration tests to ensure the app functions correctly and reliably.
I opted for Client-Side Rendering for the search functionality, particularly for dynamic data like search results, leveraging TanStack Query for efficient data fetching and state management. This decision was influenced by the TanStack Query documentation, which highlights challenges, when combining TanStack Query with React Server Components.
I utilized React Server Components for the individual book detail pages.