dev and docker compose fixes
ci / docker_image (push) Successful in 1m32s
ci / deploy (push) Successful in 16s

This commit is contained in:
2025-01-04 19:19:22 -06:00
parent 303526dac6
commit 27636988e6
12 changed files with 766 additions and 29 deletions
+8
View File
@@ -0,0 +1,8 @@
import bcrypt from 'bcrypt';
export async function createUser(username: string, password: string): Promise<void> {
const sql = `INSERT INTO users (username, password, perms)
VALUES ($username, $password, 0)`;
const hash = await bcrypt.hash(password, 12);
}