This is just a friendly abstraction over the Official Hacker News API to use as a playground.
First install bun
, with the following command:
curl -fsSL https://bun.sh/install | bash
Then install dependencies, with the following command:
bun install
To start the development server run:
bun run dev
Open http://localhost:3000/swagger to see the results
docker build -t hacker-news-api .
docker run hacker-news-api