A modern web application providing a collection of Islamic duas and hadiths, categorized for easy access. Built with Next.js, Tailwind CSS, and Node.js, this project ensures a responsive and user-friendly experience.
Clone the repository:
git clone https://github.com/yourusername/islami-dua-and-hadith-app.git
Navigate to the project folder:
cd islami-dua-and-hadith-app
Install dependencies:
npm install
Set up environment variables:
Create a .env
file in the root directory and add the following:
MONGO_URI=your-mongodb-connection-string
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000/api
Start the development server:
npm run dev
Access the app: Open http://localhost:3000 in your browser.
├── public/ # Public assets
├── src/
│ ├── components/ # Reusable React components
│ ├── pages/ # Next.js pages
│ │ ├── api/ # API routes for backend
│ │ └── index.js # Home page
│ ├── styles/ # Tailwind CSS configurations
│ └── utils/ # Utility functions
├── .env # Environment variables
├── package.json # Project dependencies and scripts
└── README.md # Project documentation
/api
npm run dev
: Start the development server.npm run build
: Build the project for production.npm start
: Start the production server.Build the app:
npm run build
Start the production server:
npm start
Deploy to platforms like Vercel or Netlify for frontend, and render.com or Heroku for the backend.
Feel free to submit issues or pull requests to contribute to this project.
This project is licensed under the MIT License.