A single page web-app showing latest news from the New York Times.
- The app is written in Typescript
- It uses the New York Times Top Stories API
- It uses the
http-server
npm package to run the server on localhost:8080 - It uses Bootstrap for CSS
- Clone this repo
- Run
npm install
- Run
npm run start
to start the server. - Go to
http://localhost:8080
- To run tests with coverage
npm t
- If you want to make any changes to the code run
npm run compile && npm run build
. This will type-check and transpile the TypeScript into Javascript and useesbuild
to recompilebundle.js
so the script inindex.html
is updated