/bun-hacker-news-api

Hacker News Api built with bun & ElysiaJS

Primary LanguageTypeScript

Bun Hacker News API

Hacker News Api built with bun & ElysiaJS

This is just a friendly abstraction over the Official Hacker News API to use as a playground.

Getting Started

First install bun, with the following command:

curl -fsSL https://bun.sh/install | bash

Then install dependencies, with the following command:

bun install

Development

To start the development server run:

bun run dev

Open http://localhost:3000/swagger to see the results

Docker

docker build -t hacker-news-api .
docker run hacker-news-api