https://github.com/davealdon/the-good-chicken-backend
https://github.com/davealdon/the-good-chicken-backend
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davealdon/the-good-chicken-backend
- Owner: DaveAldon
- Created: 2021-02-01T16:20:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-01T17:58:04.000Z (over 5 years ago)
- Last Synced: 2025-07-12T11:55:28.561Z (11 months ago)
- Language: JavaScript
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a minimal javscript example showing off the most basic Room Service setup. An [Auth Webhook](https://docs.roomservice.dev/docs/concepts/auth) 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](https://app.roomservice.dev/register).
## Getting Started
Copy this into your terminal to use this example:
```sh
yarn create next-app --example https://github.com/getroomservice/examples --example-path next.js-javascript
```
Then add `ROOMSERVICE_API_KEY=` to a `.env` file in this directory.
Finally, run the development server:
```bash
npm run dev
# or
yarn dev
```
and open [http://localhost:3000](http://localhost:3000) with your browser to see the result.