Conformant Issuer and Verifier API according to EWC RFC100: Interoperability Profile Towards ITB - v1.0
Modify the .env
file to reflect your configuration.
Be sure to set a valid DATABASE_URL
for a PostreSQL database in .env
file.
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
⚠️ IMPORTANT NOTE TheBASE_URL
provided in env MUST be an internet reachable urlWe suggest using ngrok for testing purposes.
The repo provide a sample Dockerfile
that allow to build the service.
Be sure to set a valid DATABASE_URL
for a PostreSQL database in .env
file
- Install Docker on your machine.
- Build your container:
docker build -t ewc-conformance .
. - Run your container:
docker run -p 3000:3000 ewc-conformance
.
You can view your images created with docker images
.
The repository also contains a complete docker-compose fil. It starts a PostgreSQL database and set the Next application to use it.
If you change the default values for postgres, just be sure to edit the env variable DATABASE_URL
accordingly.
To build the services execute
docker compose build
To start containers execute
docker compose up -d