https://github.com/jsdf/hacker-news-serverless-api
A hacker news API published as JSON files on S3 by an AWS Lambda function
https://github.com/jsdf/hacker-news-serverless-api
Last synced: 10 months ago
JSON representation
A hacker news API published as JSON files on S3 by an AWS Lambda function
- Host: GitHub
- URL: https://github.com/jsdf/hacker-news-serverless-api
- Owner: jsdf
- Created: 2017-05-21T01:22:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T01:35:51.000Z (over 7 years ago)
- Last Synced: 2025-08-24T21:53:38.955Z (10 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hacker-news-serverless-api
A hacker news API published as JSON files on S3 by an AWS Lambda function
Top stories: https://serverless-api.hackernewsmobile.com/topstories.json
Once you have the top stories IDs you can get individual story data from: `/stories/[story ID].json`
eg. https://serverless-api.hackernewsmobile.com/stories/14380625.json
### running it yourself
after cloning this repo, run `yarn` to get things started
then:
run it locally
```bash
node runItLocally.js
```
deploy it
```bash
serverless deploy -v
```