How 4sure-tech/bc-wallet-demo works
Project type and purpose
• This is a TypeScript monorepo for a full-stack “BC Wallet Demo” application. It showcases verifiable‐credential issuance and verification using multiple services.
• Key indicators:
• apps/bc-wallet-api-server (Node.js REST API + PostgreSQL)
• apps/bc-wallet-demo-server (Express demo back end)
• apps/bc-wallet-demo-web (React front end)
• apps/bc-wallet-showcase-creator (Next.js front end for managing showcases)
• apps/bc-wallet-traction-adapter (background adapter service)
• Helm charts, Dockerfiles, CI workflows under .github and charts/.
File structure
• Top-level “apps” folder contains 5 deployable services:
• bc-wallet-api-server
• bc-wallet-demo-server
• bc-wallet-demo-web
• bc-wallet-showcase-creator
• bc-wallet-traction-adapter
• “packages” contains shared libraries and OpenAPI definitions.
• “charts” holds Helm templates for each service plus ingress.
• Docker and docker-compose files for local dev and prod mimic the chart services.
• CI/CD: / .github/workflows and actions automate build/test and container scans.
README.md
• Confirms that it is a demo application: users walk through issuance & verification flows.
Essential architectural elements
• Do not overcrowd: focus on the five deployable apps, their data stores, and key external dependencies.
• If more granularity is needed, drill into bc-wallet-api-server internals showing controller → service → repository layers.
• Flow of credential issuance and verification is clearly traceable from UI → API → Indy → UI.