Skip to content

jex441/namespace-db

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published