Giter VIP home page Giter VIP logo

0x-event-pipeline's Introduction

0x-event-pipeline

This repository contains two packages, event-pipeline and api. The api package is the 0x Staking API. The event-pipeline package began as a set of scripts to scrape staking-related Blockchain events, but has evolved to scrape events in general.

Development

yarn install && yarn build from the root directory should build both packages. To build a single package, run yarn build from within its package folder.

Alternatively, run docker-compose up to run all services together. This will spin up the staking API, an event-pipeline scraper, and a backing postgres container. You should then be able to navigate to http://localhost:4000/staking and use the Staking API. You should also be able to connect to the postgres image to see the events stored.

psql postgresql://api:api@localhost/events

You can use this for testing each package separately by specifying the containers to run. For example, if you are developing on the api package, you can start up just the event pipeline and postgres:

docker-compose up postgres events-pipeline

Then start the API:

cd packages/api && yarn dev

0x-event-pipeline's People

Contributors

alexkroeger avatar fragosti avatar kimpers avatar ktl-xv avatar lyaunzbe avatar mintcloud avatar robpal1990 avatar sui414 avatar xianny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.