added server, db, auth system

This commit is contained in:
polwex 2026-04-06 22:11:34 +09:00
parent 4d3395fa1c
commit 199dab69f9
28 changed files with 989 additions and 192 deletions

View file

@ -2,9 +2,12 @@ import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './styles/global.css'
import App from './App.tsx'
import { AuthGate } from './components/AuthGate.tsx'
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
<AuthGate>
{(user, onLogout) => <App user={user} onLogout={onLogout} />}
</AuthGate>
</StrictMode>,
)