The Blog Stats Api is a Node.js Express backend that allows you to analyze data and cache data
These instructions will help you set up and run the Climate Change API on your local machine for development and testing purposes.
Before getting started, make sure you have the following software installed on your system:
-
Clone this repository to your local machine:
git clone https://github.com/PCoder23/sub-assign.git
-
Install all the dependencies:
npm i
-
Start the server:
npm start
The server will be running on http://localhost:5000 or at the port you have specified in the
.envfile.
- URL:
/api/blog-stats - Method: GET
- URL:
/api/blog-search - QUERY:
/api/blog-search?query=query - QUERY-EXAMPLE:
/api/blog-search?query=privacy - Method: GET