The Blog Website is a web application that allows users to read and publish blog posts on various topics. Users can explore a collection of informative and engaging articles written by a team of experts. Additionally, they have the option to share their own knowledge and experiences by creating and publishing their blog posts. The website aims to inspire, educate, and entertain its audience through high-quality and diverse content.
The Blog Website is a web application that allows users to read and publish blog posts on various topics. The website aims to inspire, educate, and entertain its audience through high-quality and diverse content.
- View a list of blog posts on the home page.
- Read full articles by clicking on individual blog post links.
- Write and publish new blog posts through a simple compose form.
- Explore the "About" page to learn more about the blog and its writers.
- Get in touch with the team through the "Contact" page.
- Node.js
- Express
- EJS (Embedded JavaScript) Templating Engine
- MongoDB (for database)
- Clone the repository.
- Run
npm install
to install the required dependencies. - Set up a MongoDB database and update the connection string in
app.js
. - Run
node app.js
to start the server.
- Access the website by navigating to
http://localhost:3000
in your web browser. - Browse through the list of blog posts on the home page.
- Click on individual blog post links to read the full articles.
- To create a new blog post, visit the "Compose" page and submit the title and content.
- Visit the "About" page to learn more about the blog and its writers.
- Contact the team using the "Contact" page for any inquiries or feedback.
- Onkar Yemul
For more details about the code implementation and routes, refer to the app.js
file.