docs: add reference Python/Flask implementation

Previous version of Tanabata used as visual and functional reference
for the new Go + SvelteKit rewrite.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 18:36:05 +03:00
parent b7995b7e4a
commit 830e411d92
84 changed files with 3725 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
$("#auth").on("submit", function submit(e) {
e.preventDefault();
$.ajax({
url: "/auth",
type: "POST",
data: $("#auth").serialize(),
dataType: "json",
success: function(resp) {
if (resp.status) {
location.reload();
} else {
alert(resp.error);
}
},
failure: function(err) {
alert(err);
}
});
});