Welcome to the Full-Stack Blog Platform project! 🌟
- User Authentication 🔑: Users can create accounts, log in, and manage their profiles.
- Blog Posting ✏️: Users can draft and publish their own blog posts.
- Commenting System 💬: Registered users can engage by commenting on blog posts.
- Admin Content Management 🛠️: Admins have tools to oversee, manage, and moderate user-generated content.
- Secure User Roles and Permissions 🛡️: Differentiates between regular users, authorized commenters, and admins.
-
Clone the repository:
git clone https://github.com/mahendrameghwal/blogs.git cd blogs
-
Install dependencies:
npm install
-
For client dependencies:
cd client npm install
-
Set up environment variables: Create a
.env
file in the root directory and add the following:DATABASE_URL=your-database-url SECRET_KEY=your-secret-key
-
Run the application:
npm start
- User Registration 🧑💻: Go to
/register
to sign up for a new account. - Blog Posting 🖋️: Visit
/create
to write and publish your blog posts. - Commenting 💭: Leave comments on blog posts directly from the post page.
- Admin Dashboard 📊: Access the admin dashboard at
/dashboard
for content management and moderation.
Here are some screenshots of the application in action:
- Homepage:
- Admin Dashboard:
- Blog Post Creation:
- Search Post:
- For Testing app:
email : [email protected] password : [email protected]
- Implemented secure user roles and permissions to safeguard sensitive areas of the application. 🔒
- Applied best practices for handling user data and authentication. 🛡️
- Fork the repository. 🍴
- Create a new branch:
git checkout -b feature-branch