Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

verida/did-server

Repository files navigation

Verida DID Server

@todo

See ARCHITECTURE.md for some documentation.

Usage

  • Install CouchDB locally
  • Set the server to point to the local database
cp sample.env .env
  • Edit .env appropriatly. You will probably need to set DB_PROTOCOL, DB_USER and DB_PASS

  • In the CouchDB Fauxton interface (probably http://127.0.0.1:5984/_utils/#/) create databases with the names set in DB_DOC_NAME and DB_LOOKUP_NAME

  • Start the server:

yarn install
yarn start

Test installation

In the ./testdocs directory there is a sample DID document and bash command to insert it into the DB. This is a good way to verify the server is working:

cd ./testdocs
./create_doc.sh
./get_doc.sh
./test_cases.sh