Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redjanvier/scrap-igihe
This is a simple application of web scrapping JS Library Cheerio and Request with express framework.
https://github.com/redjanvier/scrap-igihe
cherrio igihe knex scrap
Last synced: about 4 hours ago
JSON representation
This is a simple application of web scrapping JS Library Cheerio and Request with express framework.
- Host: GitHub
- URL: https://github.com/redjanvier/scrap-igihe
- Owner: RedJanvier
- Created: 2019-10-10T02:26:58.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-24T01:54:26.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T08:55:39.368Z (over 1 year ago)
- Topics: cherrio, igihe, knex, scrap
- Language: JavaScript
- Size: 954 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Igihe scrapper
[![Build Status](https://travis-ci.org/RedJanvier/scrap-igihe.svg?branch=develop)](https://travis-ci.org/RedJanvier/scrap-igihe)
[![Coverage Status](https://coveralls.io/repos/github/RedJanvier/scrap-igihe/badge.svg?branch=ft-project-setup)](https://coveralls.io/github/RedJanvier/scrap-igihe?branch=ft-project-setup)
[![Maintainability](https://api.codeclimate.com/v1/badges/c74c048c9917791736ab/maintainability)](https://codeclimate.com/github/RedJanvier/scrap-igihe/maintainability)A REST-API that provides all frontpage informations (news) on the [igihe website](http://igihe.com) `for free`
## PREREQUISITES
- NodeJs installed. [find it](https://nodejs.org/en/)
- PostgreSQL installed. [find it](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)
- Text Editor of your choice. [find it](https://code.visualstudio.com/)## 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)## Author
### **RedJanvier**
## Contacts
[Github](https://github.com/RedJanvier)
[Twitter](https://twitter.com/red_janvier)
[YouTube](https://www.youtube.com/channel/UCrQBNajZa-ibHBerJQ0kAiQ)
[Facebook](https://facebook.com/jan.h.red)