FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
rozek
rozekGDI_SSE
Public
Like
GDI_SSE
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://rozek--784d29aa26d511f0a5b3569c3dd06744.web.val.run
README.md

This val is part of a series of examples to introduce "val.town" in my computer science course at Stuttgart University of Applied Sciences.

The idea is to motivate even first-semester students not to wait but to put their ideas into practice from the very beginning and implement web apps with frontend and backend.

It contains a simple web page which sends a GET request to a preconfigured server that responds with a series of "Server-sent Events" (SSE) which are then shown one after another before the connection to the server is closed.

This val is the companion of

https://rozek-gdi_sseservice.web.val.run/

which contains the server part (aka "backend") for this example.

The code was created using Townie - with only a few small manual corrections.

This val is licensed under the MIT License.

Migrated from folder: GDI_Examples/GDI_SSE

HTTP
  • main.tsx
    rozek--78…44.web.val.run
Code
README.md
H
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.