Skip to content

This project is a simple API that fetches and caches the best stories from Hacker News.

License

Notifications You must be signed in to change notification settings

shaikho/HacketNewsAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News API

This project is a simple API that fetches and caches the best stories from Hacker News.

Features

  • Fetches best stories from Hacker News API
  • Caches the stories in memory for faster subsequent requests
  • Supports specifying the number of stories to fetch

Setup

  1. Clone the repository
  2. Open the project in Visual Studio
  3. Run the project. you will be greeted with a local encryption certificate you can accept that or decline it and use the http version of the API.
  4. The API will be available at http://localhost:5692

Usage

The main endpoint is /bestStories/{numberOfStories}, where numberOfStories is the number of stories you want to fetch.

License

About

This project is a simple API that fetches and caches the best stories from Hacker News.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages