https://github.com/veryfi/veryfi-lens-web-demo-angular
Veryfi Lens for Web Demo Angular App
https://github.com/veryfi/veryfi-lens-web-demo-angular
angular lens sdk webapps
Last synced: 7 months ago
JSON representation
Veryfi Lens for Web Demo Angular App
- Host: GitHub
- URL: https://github.com/veryfi/veryfi-lens-web-demo-angular
- Owner: veryfi
- Created: 2023-08-09T20:07:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T21:43:17.000Z (over 1 year ago)
- Last Synced: 2025-01-12T11:14:31.870Z (9 months ago)
- Topics: angular, lens, sdk, webapps
- Language: JavaScript
- Homepage: https://www.veryfi.com/
- Size: 6.18 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
[](https://opensource.org/licenses/MIT)
# Veryfi Lens for Web Angular Demo App
Veryfi Lens for Web SDK is a framework for your web app to give it document capture superpowers in minutes.
This project is a demo to showcase how you can integrate Lens into your web app. It follows a client-server architecture where the server is for validating your client and getting session key and the client side is for displaying and showing Lens components for capturing documents.
1. npm package
To install or update package - `npm i veryfi-lens-wasm` **(already included)**
please go to https://github.com/veryfi/veryfi-lens-wasm to check installation guide1. Put your CLIENT_ID, API_KEY and USERNAME in src/app/app.components.ts (make sure to keep it secret)
2. import VeryfiLens from 'veryfi-lens-wasm'
3. Install tailwind package4. Build the project `npm run build` (or use `ng serve` to use dev environment)
5. Copy server.js from /src to dist/lens
6. `cd dist/lens`
7. Run `node server.js`