Blogify

Blogify!

Blogify is a dynamic blog application built with Node.js, Express.js, MongoDB, and EJS.The user can publish,read, edit,delete posts, and search with keywords.

Tech Stack

Client: Reactjs,Bootstrap

Server: Node.js, Express.js,RESTful API

Data Management: MongoDB

Dependency: Axios: Promise-based HTTP client for the browser and Node.js Mongoose:Object Data Modeling (ODM) library for MongoDB and Node.js,provides abstraction over MongoDB’s native driver

Database Configuration

1.Ensure MongoDB is Running: Before executing any MongoDB commands, ensure that MongoDB is running on your local machine or server. Start MongoDB: mongod

2.Connect to MongoDB: mongo

3.Create a Database: use mydb

4.Create Collection: db.createCollection('blog')

Run Locally

  1. Clone the project:
      git clone https://github.com/vishwajeetk5/Blogify.git
    
  2. Go to the project directory: cd Blogify
  3. Install dependencies: npm install
  4. Start the custom API server: node api.js
  5. Then start Backend server: node index.js
  6. Access the application at: http://localhost:3000

Screenshots

Home Page with recent posts image New Post page image Edit Post page image Search and highlight through keyword image

Concepts Learned

Mistakes Made

NodeJS NPM Express.js MongoDB Bootstrap ChatGPT