feat: Set up initial monorepo structure for admin and mobile applications with core configurations and database integration.

This commit is contained in:
2026-02-20 12:58:54 +01:00
parent 5e2d5fb3ae
commit b7f8221095
52 changed files with 2200 additions and 175 deletions

View File

@@ -0,0 +1,14 @@
import { auth } from '../apps/admin/lib/auth'
async function main() {
const password = 'demo1234'
// Actually better-auth 1.x exports a util or hashes internally.
// An easy way to fix a user is to just update their password using the auth instance
// but since we want to strictly seed the DB, let's just generate it using the bcrypt package directly.
// For now let's just use the `better-auth` API directly if possible?
// Wait, let's look at how better auth handles hashing.
}
main()