This project is a web application that displays a "Hadith of the Day" with features for sharing, saving, and interacting with the Hadith. The application uses React for the frontend and @material-tailwind/react
for UI components.
The application is also deployed and can be accessed at Visit Deen Verse Frontend
https://deen-verse-front.vercel.app/
Clone the backend repository:
git clone https://github.com/hasnain-sid/DeenVerse.git
cd backend
Install dependencies:
npm install
Configure CORS in index.js
file:
index.js
file located in the backend directory.const corsOptions = {
origin: 'http://localhost:3000', // Example URL
credentials: true,
};
app.use(cors(corsOptions));
Start the backend server:
nodemon index.js
Clone the frontend repository:
git clone https://github.com/hasnain-sid/DeenVerse.git
cd frontend
Install dependencies:
npm install
Update constant.js
file:
constant.js
file located in the frontend directory.USER_API_END_POINT
is pointing to your backend server.export const USER_API_END_POINT = "http://localhost:8081/api/v1/user"
```Start the frontend server:
npm start
http://localhost:3000
.Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License.