Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Stats Api

The Blog Stats Api is a Node.js Express backend that allows you to analyze data and cache data

Table of Contents

Getting Started

These instructions will help you set up and run the Climate Change API on your local machine for development and testing purposes.

Prerequisites

Before getting started, make sure you have the following software installed on your system:

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/PCoder23/sub-assign.git
  2. Install all the dependencies:

    npm i
  3. Start the server:

    npm start

    The server will be running on http://localhost:5000 or at the port you have specified in the .env file.

API Endpoints

1. Fetch Blog Stats Whose Title Contains Word Privacy

  • URL: /api/blog-stats
  • Method: GET

2. Search Blog Data With Query

  • URL: /api/blog-search
  • QUERY: /api/blog-search?query=query
  • QUERY-EXAMPLE: /api/blog-search?query=privacy
  • Method: GET

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages