Welcome to the Blog Website, a platform that empowers users to create, share, and engage with blogs. This repository contains the source code for the website, which securely stores blogs in a database while providing a seamless experience for writers and readers.
User-Friendly Interface: The intuitive user interface allows users to effortlessly compose and edit blogs.
Database Storage: All blogs are securely stored in a database, making it easy to manage and retrieve them whenever needed.
Responsive Design: The website is designed to be responsive, ensuring an optimal experience on both desktop and mobile devices.
Before you begin, make sure you have the following prerequisites installed on your local machine:
Clone the Repository
Clone this repository to your local machine:
git clone https://github.com/Kritika30032002/Blog_Website.git
Navigate to the Project Directory
Install Dependencies
npm install
To configure the project, follow these steps:
PORT=3000
MONGODB_URI=mongodb://localhost:27017/blog-website
SESSION_SECRET=your_session_secret
npm start
or
node app.js
We’re excited to have you contribute to this project! Follow these simple steps to get started:
🍴 Fork the Repository
💻 Clone Your Fork
Once the repository is forked, clone it to your local machine. Open your terminal and run:
git clone
https://github.com/Kritika30032002/Blog_Website.git
Replace your-username with your GitHub username.
🌿 Create a New Branch
Before making any changes, create a new branch for your work:
git checkout
-b your-branch-name
Choose a branch name that describes what you're working on, such as fix-navbar or add-contact-form.
🛠️ Make Your Changes
✅ Test Your Changes
💬 Commit Your Changes
git add .
git commit -m "Added feature X or Fixed issue Y"
📤 Push Your Changes
git push origin your-branch-name
🔄 Create a Pull Request (PR)
🔎Review Changes
By following these steps, you can easily contribute to this project! If you have any questions, feel free to ask in the repository’s discussion or issue section.
We enthusiastically welcome contributions from the community. If you discover a bug or have an enhancement in mind, please don't hesitate to open an issue or create a pull request. Your input is invaluable to us.
Join the discord server for more discussion: