❗️ This project has been moved to Rivet's example repo.
This repo is a Rivet game built to provide examples of interacting with Rivet APIs.
rivet init
Terminal A
Open a terminal and run npm start
to start the WebSocket server.
Terminal B
Open a terminal and run npm run serve
to start the local server.
Visit http://127.0.0.1:5000
Any changes to the frontend will automatically reload. The server needs to be manually restarted.
rivet deploy -n prod