A Web Search Engine API built with NodeJS. It uses Google's PageRank algorithm for ranking links. You can can Crawl, Index, Rank & Search links using this API.
npm install
npm run dev
npm start
Type | Endpoint | Description | POST Data JSON |
---|---|---|---|
POST | /crawl | Add links for crawling. | {"links": ["google.com"]} |
GET | /crawl?limit=10 | Start crawling links. | |
PUT | /rank | Rank all crawled links. | |
GET | /search?q=gmail&page=1&limit=10 | Get relevant links for query. |