1.0.27 • Published 9 months ago

comment-system v1.0.27

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Comment System

A comment system built with Express and GraphQL, designed for easy integration into web applications. This application allows users to create, retrieve, flag, like, and unlike comments with a structured comment hierarchy.

Features

  • Create Comments: Users can create new comments with optional parent comments for nesting.
  • Get Comments: Retrieve comments by parent ID with pagination support.
  • Flag Comments: Flag inappropriate comments which can hide them after multiple flags.
  • Like/Unlike Comments: Users can like or unlike comments to show their support.

Technologies Used

  • Node.js: JavaScript runtime for building the backend.
  • Express: Web framework for building APIs.
  • GraphQL: For flexible querying of comment data.
  • MongoDB: NoSQL database for storing comments.
  • TypeScript: For type-safe development.
  • Mongoose: ODM for MongoDB.
  • ESLint: For maintaining code quality.

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (local or a cloud instance)

Installation

npm i comment-system

1.0.27

9 months ago

1.0.26

9 months ago

1.0.25

9 months ago

1.0.24

9 months ago

1.0.23

9 months ago

1.0.22

9 months ago

1.0.21

9 months ago

1.0.20

9 months ago

1.0.19

9 months ago

1.0.18

9 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago