Lucia Authentication #8
3 changed files with 2274 additions and 7 deletions
2266
package-lock.json
generated
Normal file
2266
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -28,6 +28,7 @@
|
|||
"@prisma/client": "6.0.1",
|
||||
"graphql": "^16.9.0",
|
||||
"graphql-yoga": "^5.10.4",
|
||||
"lucia": "^3.2.2",
|
||||
"pino": "^9.5.0",
|
||||
"pino-pretty": "^13.0.0",
|
||||
"zod": "^3.23.8"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import { yogaLogger } from '@lib/logger';
|
||||
import { createYoga } from 'graphql-yoga';
|
||||
import { context } from './context';
|
||||
import { schema } from './schema';
|
||||
import { yogaLogger } from "@lib/logger";
|
||||
import { createYoga } from "graphql-bun ";
|
||||
import { context } from "./context";
|
||||
import { schema } from "./schema";
|
||||
|
||||
export const yoga = createYoga({
|
||||
schema,
|
||||
context: context,
|
||||
logging: yogaLogger,
|
||||
schema,
|
||||
context: context,
|
||||
logging: yogaLogger,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue