Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# <p align="center"><img src="./img/pg_logo.svg" height="128px" alt="PostGuard" /></p>

> For full documentation, visit [docs.postguard.eu](https://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 two sub-projects:

- **pg-sveltekit/** -- SvelteKit web app using the `@e4a/pg-js` SDK.
- **pg-dotnet/** -- .NET console app using the `postguard-dotnet` SDK.

## Development

### SvelteKit example

```bash
cd pg-sveltekit
npm install
npm run dev
```

### .NET example

Requires .NET 8.0+ SDK, a Rust toolchain, and a PostGuard API key.

```bash
cd pg-dotnet
dotnet run
```

See [pg-dotnet/README.md](pg-dotnet/README.md) for full setup instructions including how to build the native library and configure your API key.

## Releasing

No releases. This is example code.

## License

MIT
1 change: 1 addition & 0 deletions img/pg_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.