You will need to have Docker installed and running to use the local Dynamo DB service.
The local database container will be automatically started when Janus' webapp runs, but if you need to run it yourself you can use the following:
cd local-dev
docker compose up -dThe service hosts a database holding a table that stores audit logs.
To make this table available for testing auditing functionality:
- Create the audit table schema by running Creation test.
- Populate the table with some test data by running Insertion test.
To test registration of passkeys and their use in authentication, you will need to have the tables to hold passkey
public key data and challenges in your local database.
To make these tables available for testing passkeys functionality:
- Create the passkey credentials table schema by running create table test.
- Create the passkey challenges table schema by running create table test.
These tests are ignored by default. To run them, just change ignore to in.