add register page. add db service

This commit is contained in:
Matteo Rosati
2026-01-25 22:39:46 +01:00
parent 0e1aed27db
commit 54141eb91a
10 changed files with 81 additions and 15 deletions

20
register.html Normal file
View File

@@ -0,0 +1,20 @@
<!doctype html>
<html>
<body>
<h1>REGISTER</h1>
<a href="/">Game</a>
<div id="login">
<label for="email">Email</label>
<input type="email" name="user" id="email" /><br />
<label for="password">Password</label>
<input type="password" name="password" id="password" /><br />
<button id="login-button">Register</button>
</div>
<div>
<a href="/login">Login?</a>
</div>
<script type="module" src="/src/login.ts"></script>
</body>
</html>