You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
This demo shows how to integrate `@superdoc-dev/esign` into a React application. The frontend sends signing and download requests to a proxy server, which securely communicates with the SuperDoc Services API.
4
+
5
+
## Prerequisites
6
+
7
+
You'll need a SuperDoc Services API key. [Get your API key here](https://docs.superdoc.dev/api-reference/authentication/register).
8
+
3
9
## Setup
4
10
5
-
1. Build the main package first (from root):
11
+
1. Build the main package (from repo root):
6
12
```bash
7
13
pnpm build
8
14
```
9
15
10
-
2. Install demo dependencies:
16
+
2. Install dependencies:
11
17
```bash
12
18
cd demo
13
19
pnpm install
20
+
cd server
21
+
pnpm install
14
22
```
15
23
16
-
3. Create `.env` file with your API key:
24
+
3. Create `.env` file in `demo/server/`:
17
25
```
18
-
VITE_SUPERDOC_SERVICES_API_KEY=your_key_here
26
+
SUPERDOC_SERVICES_API_KEY=your_key_here
19
27
```
20
28
21
-
4. Run the demo:
22
-
```bash
23
-
pnpm run dev
29
+
4. Update `demo/vite.config.ts` to proxy to localhost:
0 commit comments