initial commit

This commit is contained in:
2025-06-18 14:25:18 +02:00
commit f036a8af15
17 changed files with 2365 additions and 0 deletions

34
web/pages/index.vue Normal file
View File

@@ -0,0 +1,34 @@
<script setup lang="ts">
import { useGet } from "~/composables/useGet";
const identifiedResult = await useGet('/identify-yourself')
const allowedResult = await useGet('/do-you-have-permission')
const thingsResult = await useGet('/things')
console.log('something')
</script>
<template>
<div>
<header>
<SignedIn>
<UserButton />
</SignedIn>
<SignedOut>
<SignInButton />
</SignedOut>
</header>
<main>
<div>
identified: {{ identifiedResult.data }}
</div>
<div>
allowed: {{ allowedResult.data }}
</div>
<div>
things: {{ thingsResult.data }}
</div>
</main>
</div>
</template>
<style scoped></style>