For full documentation, visit docs.postguard.eu.
Example applications demonstrating PostGuard integration. Contains reference implementations for developers building on PostGuard. Code snippets in docs.postguard.eu come from this repo.
There are three sub-projects:
pg-sveltekit/: SvelteKit web app using the@e4a/pg-jsSDK.pg-dotnet/: .NET console app using thepostguard-dotnetSDK.pg-manual/: manual encryption/decryption using the@e4a/pg-wasmlibrary directly.
Each sub-project has its own README with full setup instructions.
cd pg-sveltekit
npm install
npm run devSee pg-sveltekit/README.md for environment variables and build instructions.
Requires the .NET 10.0+ SDK and a PostGuard API key. The example uses the E4A.PostGuard NuGet package, so no Rust toolchain or local build of the native library is needed.
cd pg-dotnet
export PG_API_KEY="PG-your-key-here"
dotnet runSee pg-dotnet/README.md for full setup instructions.
cd pg-manual
npm install
npm run devSee pg-manual/README.md for details.
No releases. This is example code.
MIT