Establishes Drizzle ORM schema; enhances auth

Establishes the initial database schema using Drizzle ORM, replacing the prior placeholder. This migration introduces core entities like users, spaces, pages, access tokens, and their permissions, complete with relationships and constraints.

Updates the authentication flow by securing the sign-in endpoint with JWT validation and extracting user details directly from the token via a new custom parameter decorator, improving user context handling.

Integrates a new `Page` module, laying the groundwork for future page management capabilities.
This commit is contained in:
dahyeon committed 2025-11-10 14:50:29 +00:00
1 parent 469e799b01
commit dff10ff604
12 files changed
+925 -13

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class PageService {
}