Skip to content

Blogify is a dynamic blog application built with Node.js, Express.js, MongoDB, and EJS. Includes Bootstrap styling and features for Creating, updating, viewing and deleting posts

Notifications You must be signed in to change notification settings

vishwajeetk5/Blogify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  • Node.js serves as the runtime environment, handling server-side logic and routing,
  • Express.js acts as a web application framework, simplifying route definition and request handling.
  • MongoDB as the DBMS.
  • EJS (Embedded JavaScript) serves as the templating engine.
  • Additionally, Bootstrap is utilized for frontend design, providing pre-designed CSS and JavaScript components for a visually appealing and user-friendly interface

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
  1. Go to the project directory: cd Blogify
  2. Install dependencies: npm install
  3. Start the custom API server: node api.js
  4. Then start Backend server: node index.js
  5. 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

  • Building a RESTful API
  • CRUD operations for blog posts using API and MongoDB with mongoose abstraction
  • MongoDB installation and commands
  • Using Postman for API testing
  • Server-side templating with EJS
  • Frontend-backend integration
  • Background Blob animation using Illustrator,SVG

Mistakes Made

  • HTML Never HTML forms do not support methods other than 'GET' and 'POST'

NodeJS NPM Express.js MongoDB Bootstrap ChatGPT

About

Blogify is a dynamic blog application built with Node.js, Express.js, MongoDB, and EJS. Includes Bootstrap styling and features for Creating, updating, viewing and deleting posts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published