This is a minimal example showing off the most basic Room Service setup. An Auth Webhook is setup, with Next.js. You'll need to get an API Key for it to run. You can do that at app.roomservice.dev.

Then replace "YOUR_API_KEY" in /pages/api/roomservice.js to be your actual api key. (Or better yet, use an environment variable!)

Copy this into your terminal to use this example:

curl https://raw.githubusercontent.com/getroomservice/examples/master/create.sh | bash -s -- next.js-minimal

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.