Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 860 Bytes

README.md

File metadata and controls

67 lines (43 loc) · 860 Bytes

Usage

Build namespace service

docker build -t namespace-service:latest .

Pull postgres image.

docker pull postgres:13.7-bullseye

Create containers in detatched mode from root directory

docker-compose up -d

Run tests

Enter bash or shell session in service container (see docker ps for name).

docker exec -it <service container> bash

Run tests.

./test-server/run-tests.sh

Remove containers when done:

docker-compose down

Functions and their return values if request is successful

createUser

201

getContributorID

a string with the contributor id (ethereum address)

getContributorName

a string with the contributor's name (github login)

getContributorSignature

a string with the contributor's signature (ethereum key)