/ajax-comment-system

Commenting system built with Node.js, AJAX and MongoDB database.

Primary LanguageJavaScript

Commenting System

Overview

A seamless, asynchronous commenting system built with Node.js to enhance user engagement without page reloads. Designed for smooth user interaction, this application stores and retrieves comments efficiently from MongoDB, creating a responsive and enjoyable user experience.

Preview

🚀 Features

  • Asynchronous comment submission with AJAX for a smooth user experience
  • Persistent comment storage and retrieval in MongoDB

🛠️ Tech Stack

  • Node.js– Backend runtime for efficient handling of user requests
  • Express.js– Streamlined web framework for fast routing
  • EJS– Templating for dynamic content rendering
  • AJAX– Asynchronous data submission
  • MongoDB– NoSQL database for comment storage
  • Nodemon– Auto-restart server for smoother development

⚙️ Getting Started

Database Setup

Create a MongoDB database named commenting-system:

use commenting-system

Installation

Clone the repository and install the dependencies:

$ git clone https://github.com/dnmore/ajax-comment-system.git
$ npm install

Running the Application

To start the server, use:

$ npm start

The server will be running at http://localhost:3000/

📄 License

This project is licensed under the MIT License.