Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jimmy-guzman/bun-hacker-news-api
- Owner: jimmy-guzman
- Created: 2023-04-06T01:16:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-06T03:54:06.000Z (over 1 year ago)
- Last Synced: 2024-12-17T00:44:49.033Z (11 days ago)
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```