Skip to content

Crypto currencies market data from http://coinmarketcap.com/ crawled using puppteer + expressjs backend + Elasticsearch + React frontend

Notifications You must be signed in to change notification settings

lucassimao/coinmarketcap-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

Overall architecture

We leverage an elastic search instance to store crypto currencies market data from http://coinmarketcap.com/ crawled using a pupetter recurrent job that runs every 5min.

The react based frontend requests data from an expressjs based backend which by its turn fetches data from elastic search.

Quick demo

using docker-compose (easier way)

at the root of the project:

docker-compose build

and

docker-compose up

This will build the crawler, backend, frontend and will set up an elastic search instance

Then you can point your browser to http://localhost:80

using npm

First ensure you have a running elastic search instance running on localhost:9200. Then:

Inside the backend folder:

npm run start:dev

Inside the frontend folder:

npm start

Inside the crawler folder:

npm run start:dev

If your local elastic search instance runs on a port other than 9200, edit the .env files inside the crawler and backend folders

Tech stack

  • Nodejs v15
  • Typescript
  • React
  • pupetter
  • elastic search v7.11
  • Docker

About

Crypto currencies market data from http://coinmarketcap.com/ crawled using puppteer + expressjs backend + Elasticsearch + React frontend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published