This repo contains examples of Room Service in different situations.
For help using Room Service, or if you'd like to chat about building multiplayer-enabled apps, join our Discord!
You can get any of these examples running locally using your package manager
of choice. Just replace --example-path next.js-minimal
with the name of the desired
example.
# npm
npx create-next-app --example https://github.com/getroomservice/examples --example-path next.js-minimal
# yarn
yarn create next-app --example https://github.com/getroomservice/examples --example-path next.js-minimal
This example has a basic setup with Next.js and an Auth Webhook setup already. Use it as a starting point to build the multiplayer app of your dreams.
This example has a basic setup with Next.js and shows off Presence, Room Service's real-time user metadata. Use it as a starting point to build things like live cursors.
This example has a basic setup with Next.js and shows off Lists, a real-time, optimistically updating list data structure.
This example has a basic setup with a basic Express server and an Auth Webhook setup already.