Membership on-boarding service for Joystream network.
Clone the repo, then run:
$ yarn install
to install.
Add your config variables to env.example
and rename it to .env
and then run:
$ yarn build
$ yarn start
Will build and start the server.
Send a JSON in the request body:
{
"account": "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw",
"handle": "myhandle"
}
On success expect a JSON response:
{
"memberId": 21
}
On error expect a JSON response:
{
"error": "ErrorType"
}