https://github.com/mustofa-id/sveltekit-sse-example
SvelteKit Server-Sent Event example
https://github.com/mustofa-id/sveltekit-sse-example
realtime-chat server-sent-events svelte sveltekit
Last synced: 7 months ago
JSON representation
SvelteKit Server-Sent Event example
- Host: GitHub
- URL: https://github.com/mustofa-id/sveltekit-sse-example
- Owner: mustofa-id
- Created: 2022-12-24T05:00:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T06:51:33.000Z (about 1 year ago)
- Last Synced: 2025-02-28T11:24:39.739Z (7 months ago)
- Topics: realtime-chat, server-sent-events, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 65.4 KB
- Stars: 50
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit Server-Sent Event Example
```bash
pnpm i
pnpm dev
```Consider setting the ORIGIN [environment](https://kit.svelte.dev/docs/adapter-node#environment-variables-origin-protocol-header-and-host-header) variable if you're using `adapter-node` to avoid the "Form submission forbidden" error.
```bash
pnpm build
ORIGIN=https://my.site node build
```