Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gillesdemey/dnd.bar
https://dnd.gent/bar
https://github.com/gillesdemey/dnd.bar
Last synced: 3 days ago
JSON representation
https://dnd.gent/bar
- Host: GitHub
- URL: https://github.com/gillesdemey/dnd.bar
- Owner: gillesdemey
- Created: 2024-05-20T01:24:33.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T15:54:08.000Z (5 months ago)
- Last Synced: 2024-06-08T17:11:19.967Z (5 months ago)
- Language: TypeScript
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DND Bar Supabase
## Dependencies
The following packages are required to be installed; (currently requires the supabase beta)
`brew install just supabase/tap/supabase-beta`
## Development
Run `just start` to start the supabase server and generate the types.
Run `just stop` to shut down the supabase environment.
## API
You can run the server locally with Deno.
`SUPABASE_URL="http://localhost:54321" SUPABASE_SERVICE_ROLE_KEY= deno run -A supabase/functions/api/index.ts`
Go to `http://127.0.0.1:8000/bar/sessions/2b4b2db3-00e0-4d43-ae74-e9f5a7b8dd32/orders` in the browser.
Or with `supabase`
Go to `http://127.0.0.1:54321/functions/v1/api/sessions/2b4b2db3-00e0-4d43-ae74-e9f5a7b8dd32/orders` in the browser.
## UI
Run `npm run dev` in the `ui/` folder and navigate to `http://localhost:5173/sessions/2b4b2db3-00e0-4d43-ae74-e9f5a7b8dd32`.
## Console
Go to http://localhost:54321 in the browser.