Skip to content

Commit 554f545

Browse files
authored
docs: CRP-2830 mention npm run dev for the encrypted notes dapp (#179)
Follows the structure as in the other example readmes (components -> {backend, frontend}).
1 parent 626a5f1 commit 554f545

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

examples/encrypted_notes_dapp_vetkd/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ from the `motoko` folder.
3131

3232
To use the Rust backend instead of Motoko, run the same command in the rust folder.
3333

34+
## Example Components
35+
36+
### Backend
37+
38+
The backend consists of a canister that stores encrypted notes. It is automatically deployed with `dfx deploy`.
39+
40+
### Frontend
41+
42+
The frontend is a **Svelte** application providing a user-friendly interface for managing encrypted notes.
43+
44+
To run the frontend in development mode with hot reloading (after running `dfx deploy`):
45+
46+
```bash
47+
npm run dev
48+
```
49+
3450
## Troubleshooting
3551

3652
If you run into issues, clearing all the application-specific IndexedDBs in the browser (which are used to store Internet Identity information and the derived non-extractable AES keys) might help fix the issue. For example in Chrome, go to Inspect → Application → Local Storage → `http://localhost:3000/` → Clear All, and then reload.

0 commit comments

Comments
 (0)