Find-tunes allows users to search for albums by artist name using the Spotify API. It includes form validation with zod and react-hook-form, and displays album data with responsive UI components
- Search for albums by artist name.
- Display album information, including image, name, release date, and a link to the album on Spotify.
- Show Skeleton loaders while fetching data
-
Clone the repository:
git clone https://github.com/Ibinola/find-tunes.git
-
Navigate to the project directory:
cd your-repo-name
-
Install dependencies:
yarn install # or npm install # or pnpm install
NEXT_PUBLIC_CLIENT_ID
- Your Spotify API Client IDNEXT_PUBLIC_CLIENT_SECRET
- Your Spotify API Client Secret
To run the project locally:
- Start the development server
yarn dev
- Visit
http://localhost:3000
in your browser.
app/page.tsx
- Main page where the album search form and results are displayed.components/
- Contains reusable UI components such as Input, Button, Card, and Skeleton.lib/utils.ts
- Utility functions and types, including albumType.components/ui/
- Includes custom UI components used in the project.