Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new endpoints to flask example #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Luishfs
Copy link

@Luishfs Luishfs commented Jan 8, 2024

Motivation

I've had some difficulty to understand the latter flask/django python examples and how DIDKit works. By adding the new endpoints along with the updated README.md, i believe new users can understand better not only how to use SpruceID DIDKit, but also how DID concepts works.

Description

This PR adds 3 new endpoints to the Flask API DIDKit example, along with a step-by-step on how to generate/validate both VCs and VPs.

New example endpoints

The first page leading after accessing the defined Flask URL now allows users to interact with 4 main components from DIDKit:

  1. Issue Verifiable Credential
  2. Verify Verifiable Credential
  3. Issue Verifiable Presentation
  4. Verify Verifiable Presentation

All cited components lead to a exclusive URL where users can interact via browser to execute the specified task using DIDKit python.

New Pages

First Page (/)

Screenshot from 2024-01-08 04-54-02

Issue VC

Screenshot from 2024-01-08 04-54-11

Verify VC

Screenshot from 2024-01-08 04-54-16

Issue VP

Screenshot from 2024-01-08 04-54-26

Verify VP

Screenshot from 2024-01-08 04-54-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant