Robert Webb
f5e38cbd70
Added a sample test using supertest, axios, and sinon.
...
It does not past but I can confirm it does call the api!
2019-02-17 20:20:31 -08:00
notnull
98adc24389
separated api path from main path
2019-02-15 17:59:55 -05:00
24ae647142
adding a comment backend, experimenting with static html frontend (plus bash)
2019-02-14 08:59:14 -08:00
df2afd36e2
F
2019-02-13 14:28:27 -08:00
Robert Webb
3f8e8479d0
Added linting to the project
2019-02-10 16:07:09 -08:00
notnull
2ac6cc2ff2
added seed, and a template for serving the html
2019-02-07 20:59:24 -08:00
notnull
9e90002113
added database and express server
2019-02-07 18:47:35 -08:00
Robert Webb
a108d90a3d
Added sample code for querying the HN API in node. I used node because it takes me much less time but many other languages would work. I wanted to demonstrate the ease of hackernews API.
...
In order to use, install node.
Run npm install in the repo to generate the node_modules folder.
run node index.js
You should see the HN top stories logged out.
2019-02-01 23:32:17 -08:00