Init Project

This is a pretty far-developed starting point. Authentication has been intialized with Better-Auth, a database has been setup with Prisma, and Google + email logins have been enabled, as well as Google + Email registration.
This commit is contained in:
NeilClack
2026-01-13 16:21:12 -06:00
commit ef855ae9a9
82 changed files with 20988 additions and 0 deletions
@@ -0,0 +1,20 @@
<script lang="ts">
import { authClient } from '$lib/auth-client';
const session = authClient.useSession();
</script>
<nav class="mb-6 flex w-full justify-between bg-slate-200 px-4 py-6">
<span><a href="/">Radiant Wave Technologies</a></span>
{#if $session.data}
<div>
<a href="/dashboard" class="mx-2">Dashboard</a>
<button
on:click={async () => {
authClient.signOut();
}}>Log Out</button
>
</div>
{:else}
<span><a href="/login">Log In</a> | <a href="/register">Register</a></span>
{/if}
</nav>