Igihe scrapper
A REST-API that provides all frontpage informations (news) on the igihe website for free
PREREQUISITES
Getting Started
Run the following commands
createdb igihe2
npm run seed
Make a .env file
based on .example.env file
then
Run npm run dev
to start the server in development or
Run npm start
for production
Features to implement
- ✔ User should be able to see all news
- ✔ User should be able to see single news detailed
Routes
See all news
[GET] /api/v2/posts/
:body: none
See a single news detailed
[GET] /api/v2/members/:postId
:body: none
Tech stack
- Knex
- Node JS
- Express JS
- PostgreSQL
- mocha, chai & chai-http
- cheerio JS (scrap library)