Welcome to our blog website! Whether you're a seasoned writer or just starting out, our platform is here to help you share your stories and ideas with the world.
- Read Posts: Explore a variety of blog posts on different topics.
- Create Posts: Write and publish your own blog posts.
- Read More: Dive deeper into posts that interest you.
- Responsive Design: Enjoy a seamless experience on any device.
- Dynamic Routing: Dyamic routing for all composed blogs.
- Node.js installed on your computer
- MongoDB installed locally or accessible via MongoDB Atlas
- Git installed on your computer
-
Clone this repository to your computer:
git clone <repository-url>
-
Navigate to the project directory:
cd blog-website
-
Install dependencies using npm or yarn:
npm install
or
yarn install
-
Create a
.env
file in the project's root directory and add your MongoDB connection URL:MONGODB_URI=<your-mongodb-connection-url>
Replace
<your-mongodb-connection-url>
with your MongoDB database URL. -
Start the development server:
npm start
or
yarn start
-
Open your browser and visit
http://localhost:3000
to see the website.
Watch this video for a quick overview of the website:
You can see a live preview of the website here.
This project uses the following dependencies:
- Express.js: Web application framework for Node.js
- MongoDB: Database for storing blog posts
- EJS: Template engine for server-side rendering
- Shepherd.js: Library for guiding users through the website
Feel free to fork this repository and make it your own! Contributions are welcome.
Follow my GitHub for more projects: GitHub Profile
If you've enjoyed exploring our blog website, please consider voting for us!
Your vote means a lot to us! Thank you for your support!