Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neilck/nac-demo-app
The demo application shows how to integrate nostr-access-control package.
https://github.com/neilck/nac-demo-app
nextjs13 nip-07 nip-58 nip-99 nostr nostr-access-control typescript
Last synced: 13 days ago
JSON representation
The demo application shows how to integrate nostr-access-control package.
- Host: GitHub
- URL: https://github.com/neilck/nac-demo-app
- Owner: neilck
- Created: 2023-09-18T06:19:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-20T21:26:36.000Z (over 1 year ago)
- Last Synced: 2024-02-16T05:34:48.286Z (10 months ago)
- Topics: nextjs13, nip-07, nip-58, nip-99, nostr, nostr-access-control, typescript
- Language: TypeScript
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
This demo application shows how to integrate the [nostr-acess-control package](https://github.com/neilck/nostr-access-control).- shows in real-time the publishing of badge definition, badge award, and classified listing events
- demostrates nostr-access-control's `verifyEligibilty` function running either client-side or server-side
- supports logging in with NIP07 Nostr signing extension
- event fetching and deletionDeveloped using [Nostr Development Kit](https://github.com/nostr-dev-kit/ndk) in a Next.js React app.
## Screenshots
![demo-instructions](https://github.com/neilck/nac-demo-app/assets/11378702/14fb99c2-f4d1-4e75-881e-cb0acb0a9457)
![demo-screen](https://github.com/neilck/nac-demo-app/assets/11378702/3b66a0a4-f1fa-4e12-8534-d8ede6fde737)## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.