Public
Like
GDI_SSEService
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.
main.tsx
https://rozek--7676c0fa26d511f0a5b3569c3dd06744.web.val.run
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 HTTP end point which starts sending a countdown from 10 to 0 using "Server-sent Events" (SSE)
This val is the companion of
https://rozek-gdi_sse.web.val.run/
which contains the browser part (aka "frontend") for this example.
The code was initially created using Townie - but this time it required a lot of manual corrections.
This val is licensed under the MIT License.
Migrated from folder: GDI_Examples/GDI_SSEService