Small test project. Scrapes data from HackerNews. Store/view/filter the data.
- git clone repo
- npm install
- node index.js
- npm run test
- http://localhost:3000 - Simple homepage (links to other routes)
- http://localhost:3000/v1/json - Scrape HackerNews and return JSON data
- http://localhost:3000/v1/view - Scrape and return data in simple HTML tables(using ejs)
- express to serve the JSON data
- ejs templates for simple webpages
- cheerios for scraping the data
- sqlite for storing data and filtering results
- jest and supertest for testing
- More test coverage
- Test home and data routes(html)
- More css on home and data routes