Skip to content

Examples of Room Service in many different situations

Notifications You must be signed in to change notification settings

getroomservice/examples

Repository files navigation

Room Service

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!

Discord

Examples

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.