Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jimmy-guzman/bun-hacker-news-api

Hacker News Api built with bun & ElysiaJS
https://github.com/jimmy-guzman/bun-hacker-news-api

Last synced: 4 days ago
JSON representation

Hacker News Api built with bun & ElysiaJS

Awesome Lists containing this project

README

        

# Bun Hacker News API

> Hacker News Api built with [bun](https://bun.sh) & [ElysiaJS](https://elysiajs.com)

_This is just a friendly abstraction over the [Official Hacker News API](https://github.com/HackerNews/API#hacker-news-api) to use as a playground._

## Getting Started

First install `bun`, with the following command:

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

Then install dependencies, with the following command:

```
bun install
```

## Development

To start the development server run:

```bash
bun run dev
```

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

## Docker

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

```
docker run hacker-news-api
```