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

Latest commit

 

History

History
31 lines (27 loc) · 605 Bytes

README.md

File metadata and controls

31 lines (27 loc) · 605 Bytes

microservice-github

Microservice that connects github information with the Smart Contract of the Network

Local Dev

Start postgresdb on docker

First time

docker run -d --name github-db -p 54320:5432 -e POSTGRES_PASSWORD=github -e POSTGRES_DB=github -e POSTGRES_USER=github postgres:13

After that

docker start github-db

Install nodemon (if needed)

npm install -g nodemon

Run microservice

Copy .env.example to .env

cp .env.example .env

and fill the missing settings Then:

npm start

Check if it's working at: http://localhost:3005/