https://github.com/mustofa-id/sveltekit-push-notification-example
SvelteKit Push Notification Example
https://github.com/mustofa-id/sveltekit-push-notification-example
nodejs push-notifications svelte sveltekit web-push web-push-notification
Last synced: 6 months ago
JSON representation
SvelteKit Push Notification Example
- Host: GitHub
- URL: https://github.com/mustofa-id/sveltekit-push-notification-example
- Owner: mustofa-id
- Created: 2025-03-30T07:26:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T07:51:32.000Z (6 months ago)
- Last Synced: 2025-03-30T08:25:43.526Z (6 months ago)
- Topics: nodejs, push-notifications, svelte, sveltekit, web-push, web-push-notification
- Language: TypeScript
- Homepage: https://sveltekit-web-push.netlify.app/
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit Push Notification Example
## Get Vapid keys
```bash
npx web-push generate-vapid-keys
```Set public and private keys to `.env` file:
```bash
cp .env.example .env
```## Development
```bash
pnpm install
pnpm dev
```## Build
```bash
pnpm build
```## Preview build
```bash
pnpm preview
```## Deployment
see [docs](https://svelte.dev/docs/kit/adapters)