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

bepronetwork/ms-master

Repository files navigation

Ms-Master API

Ms-Master is a micro-service responsible for the business rule of the Casinos, all the customization part of the Casino and the integrations made to it. In addition, Ms-Master is responsible for creating Admins for the platforms, registering and creating the Casino, in addition to registering users at the Casino.

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/Ms-Master-Main-Microservice-150bbaa777ef4ca788c3e4d0faca3e34

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

After that we have to build the project, so that we can start it and we do it with:

npm build

Finally, we started the project with:

npm start

Docs