Skip to content

A Node.js API with EJS views for creating, reading, updating, and deleting blog posts. Follows MVC architecture, with MongoDB for data storage.

Notifications You must be signed in to change notification settings

pawangupta5050/Simple-Blog-Site

Repository files navigation

Simple Blog Application

This web application is built using Node.js API and EJS (Embedded JavaScript) for rendering views. It serves as a platform for users to create, read, update, and delete blog posts. The application follows the MVC (Model-View-Controller) architecture, with Node.js handling the backend logic, EJS templates rendering the views, and MongoDB serving as the database to store blog posts and user information.

Features

  • Create: Users can create new blog posts.
  • Read: Users can view existing blog posts.
  • Update: Users can edit and update their existing blog posts.
  • Delete: Users can delete their blog posts.
  • MVC Architecture: The application is structured using the MVC pattern for better organization and maintainability.
  • Node.js API: Node.js is used to handle the backend logic and API endpoints.
  • EJS Templates: EJS templates are used for rendering dynamic HTML views.
  • MongoDB Database: MongoDB is used as the database to store blog posts and user information.

Installation

  1. Clone the repository.
  2. Install dependencies using npm install.
  3. Set up your MongoDB database and update the connection string in the .env file.
  4. Run the application using npm start.

Usage

  1. Register or log in to create a new account.
  2. Create, read, update, or delete blog posts as needed.
  3. Explore the application's features and functionalities.

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the application.

About

A Node.js API with EJS views for creating, reading, updating, and deleting blog posts. Follows MVC architecture, with MongoDB for data storage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published