1.0.51 • Published 7 months ago

replyke-express v1.0.51

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Replyke Express

Express routes for integrating Replyke's features, including fetching, liking, unliking articles, and managing comments.

Table of Contents

Installation

To install the package, run the following command:

npm install replyke-express

Usage

To use the routes provided by replyke-express in your Express application, import and use them as middleware:

Basic Setup

const express = require('express');
const { replykeRoutes } = require('replyke-express');

const app = express();

app.use(express.json());
app.use(replykeRoutes);

const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
  console.log(`Server is running on port ${PORT}`);
});

Collections

Documents will be saved under the following collections in your MongoDB database:

  • replyke-articles: Stores articles with their associated likes, comments, and replies.
  • replyke-comments: Stores comments related to articles.

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.0.51

7 months ago

1.0.44

1 year ago

1.0.43

1 year ago

1.0.48

1 year ago

1.0.47

1 year ago

1.0.46

1 year ago

1.0.45

1 year ago

1.0.49

1 year ago

1.0.50

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.40

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago