first working login and editing of file. bugg is för rendering with tiptap

This commit is contained in:
Björn Blomberg
2026-04-10 19:56:21 +02:00
parent 41dc1d9988
commit 05b773c14c
14 changed files with 9459 additions and 24 deletions

3
backend/test_db.go Normal file
View File

@@ -0,0 +1,3 @@
package main
import ("database/sql"; "fmt"; "log"; _ "modernc.org/sqlite")
func main() { db, _ := sql.Open("sqlite", "C:/data/db/archivum.db"); rows, err := db.Query("SELECT username, role, pass_hash FROM users"); if err != nil {log.Fatalln(err)}; for rows.Next() { var u, r, p string; rows.Scan(&u, &r, &p); fmt.Println(u, r) } }