Ever needed a quick fact about Gaurav Kabra?
This tiny API returns random, interesting facts about Gaurav Kabra — his education, work experience, skills, and achievements.
Built for showcasing Gaurav's professional profile in a programmatic way.
Base URL
GET /fact
Rate Limit: 120 requests per minute per IP
{
"fact": "Gaurav Kabra holds the position of Member of Technical Staff at Salesforce."
}
Use it to learn more about Gaurav Kabra's professional background, skills, and accomplishments.
Want to run it yourself? It's lightweight and simple.
git clone https://github.com/kabragaurav/know-as-a-service.git
cd know-as-a-service
npm install
npm start
The API will be live at:
http://localhost:3000/fact
You can also change the port using an environment variable:
PORT=5000 npm start
.
├── facts.json
├── index.js
├── LICENSE
├── package-lock.json
├── package.json
├── README.md
└── tree.txt
1 directory, 7 files
For reference, here's the package config:
{
"name": "know-as-a-service",
"version": "1.0.0",
"description": "A lightweight API that returns random fact about Gaurav Kabra.",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"author": "Gaurav Kabra",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"express-rate-limit": "^7.0.0"
}
}
Created by Gaurav Kabra
MIT