Example project demonstrating basic actor state management and RPC calls with RivetKit.
Discord — Documentation — Issues
IMPORTANT: This template has the Rivet API endpoint exposed publicly. This is not secure and should be changed for production use cases.
Once deployed to Railway, you can access the Rivet dashboard by visiting the public address that Railway assigns to your Rivet container.
- Node.js
git clone https://github.com/rivet-gg/rivetkit
cd rivetkit/examples/counter
npm install
npm run dev
Run the connect script to interact with the counter:
tsx scripts/connect.ts
See Railway deploy documentation.
Apache 2.0