This is a full-featured blogging website built using the MERN stack (MongoDB, Express.js, React.js, and Node.js). The project includes user authentication with Google, secure password management with JWT, and a responsive user interface styled with TailwindCSS and Flowbite React components.
- User Authentication: Google Authentication for easy sign-in.
- Secure Password Management: JWT authentication with support for reset and forgot password.
- Responsive Design: TailwindCSS and Flowbite React components for a modern, responsive UI.
- Content Management: Create, edit, and delete blog posts.
- Admin Controls: Admin-only routes for content moderation.
- Frontend: React.js, TailwindCSS, Flowbite React
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: Firebase, Google Authentication, JWT
- Node.js
- MongoDB
- Firebase Project (with Google Authentication enabled)
-
Clone the repository:
git clone https://github.com/MuhammadBilal0111/Website.git cd Website -
Install dependencies for the server and client:
cd server npm install cd ../client/blog npm install
-
Create environment variables:
- Create a
.envfile in theserverandclient/blogdirectory and add your environment variables (e.g., MongoDB URI, JWT Secret, Firebase credentials).
- Create a
-
Run the application:
# Start the server cd server npm start # Start the client cd /client/blog npm run dev
Feel free to submit pull requests or open issues to help improve the project.
This project is open-source.