Skip to content

mwchben/scrap-data-off-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrap site data

How to go about

1. install

  • Git clone the repo and run npm i
  • Run npm install -g nodemon

2. for running frontend

npm run start-f

  • Go to the base URL http://localhost/ with :PORT where PORT is defined on line 1 of code
  • You will get:
    • keyword (main wording of what to look for in the <a> tags)
    • website (main URL of the site with pages/articles)
    • baseURL (main URL of the site)

3. for running backend

npm run start-b

Go to the base URL http://localhost/ with :PORT where PORT is defined on line 1 of Code

note:

Run the two servers concurrently The following packages are used:

  1. Axios
  2. Express
  3. Cheerio
  4. Nodemon
  5. EJS

Credits: Ann Kubow

About

scrap web info using JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •