A server-based implementation of verifiable data registry based on swift-express-graphql. It mainly uses Javascript Object Signing and Encryption (JOSE) for DID and derived functionalities.
Functionality | Algorithm | Curve |
---|---|---|
Authentication | ES256 | P-256 |
Assertion Method | EdDSA | Ed25519 |
- Issue DIDs.
- DID/Key persistence.
- DID/Key resolving by REST and GraphQL.
- Administration.
- Duplicate
.env.example
as.env
and configure environment variables; - Configure
Dockerfile
anddocker-compose.yml
; - Compose and run containers.
docker compose up -d
- Duplicate
.env.example
as.env
and configure environment variables; - Configure
Dockerfile
; - Build Docker image
docker build -t vcs .
- Run in container
docker run -p <host_port>:<container_port> --name <container_name> -d vcs
- Install dependencies
yarn install
-
Duplicate
.env.example
as.env
and configure environment variables; -
Build project to
dist
;
npm run build
- Run project.
npm run start
- Run dev server
yarn dev
domain/graphql
domain/api-docs