An API build on express JS to fetch a short summary on any topic .
Here you can search for anything , this will return the topics name.
GET /search?topic={query}
Parameter | Type | Description |
---|---|---|
query |
string |
Required. |
Here you have to search for topic with proper spellings , for this first hit /search endpoint then get all topics name then search from there. This will return the short summary of that topic
GET /summary?topic=${query}
Parameter | Type | Description |
---|---|---|
query |
string |
Required. Name of the topic |
Clone the project
git clone https://github.com/Sonu-Hansda/wiki_express
Go to the project directory
cd wiki_express
Install dependencies
npm install
Start the server
npm run dev