This is an example real-time, Websockets app built with Wasp in TypeScript to showcase the ease of use and integration of Websockets in Wasp. It's really NEAT!
This app also includes Wasp's integrated auth and a voting system (again, neat!).
If you get stuck at any point, feel free to join our Discord server and ask questions there. We are happy to help!
Download and install Wasp
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
Clone this repo...
git clone https://github.com/vincanger/websockets-wasp.git
....and navigate to the project directory
cd websockets-wasp
wasp db migrate-dev
start the app! (this also installs all dependencies)
wasp start
Check out the src/server/websocket.ts
and src/client/pages/MainPage.tsx
to see how Websockets are used in Wasp.
Wasp Docs: https://wasp-lang.dev/docs
Feel free to join our Discord server and ask questions there. We are happy to help!