Sahih is a simple web application that generates random hadiths, similar to a quote generator but focused on authentic sayings of Prophet Muhammad (PBUH). This app is built with React and utilizes React Query to fetch the hadith data.
- Generates random hadiths on button click
- Responsive and clean user interface
- Utilizes React Query for efficient data fetching and state management
- Well-structured professional file organization
- React: JavaScript library for building user interfaces
- React Query: For fetching, caching, and updating data
- CSS Modules / TailwindCSS (if applicable): For styling the components
- Axios or Fetch API: For making API requests to fetch hadith data
-
Clone the repository:
git clone https://github.com/your-username/sahih.git
-
Navigate into the project directory:
cd sahih
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
Demo.
- Special thanks to Hadith API for providing the free API and access key used in this project.