Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Scheduler - Microservice - Scrapper of Complex Queries Information - @BetProtocol

Notifications You must be signed in to change notification settings

bepronetwork/scheduler-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler-Light API

The Scheduler Microservice is responsible from time to time to scroll the Database for info like biggest bet winners, users with most bets etc.. and store them all digested in a easy way for ms-master to acess that data. This microservice is built with Agenda and works like a proactive bot to gather complex data and store it inside the "redis" database in mongodb from which ms-master uses to get API calls like this.

Getting started

Project Configuration

The first step is to fork the project onto your machine. After fork, enter the project and in its root folder create an .env file. In this file, you put all your sensitive and environment info.

The .env variables are in this link, section 3: https://www.notion.so/betprotocol/Scheduler-Information-Wrapper-be0b89ae2c83462397a8a7f57ad02063

Note: In the link above is also the step by step of what is needed to create an online machine of the entire project in Heroku.

Project Installation

After creating the .env file, we now open a terminal in the project's root folder and install all project dependencies with the command:

npm install

Finally, we started the project with:

npm start

Docs

About

Scheduler - Microservice - Scrapper of Complex Queries Information - @BetProtocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published