Commit Graph

155 Commits

Author SHA1 Message Date
4747fca4a4 Add Pothos-generated User GraphQL schema and resolver
This commit adds the Pothos-generated User GraphQL schema and resolver. The schema is defined in the `src/graphql/graphql.schema.ts` file, and the resolver is defined in the `src/graphql/graphql.resolver.ts` file. The schema includes the `User` object type with fields for `id`, `name`, and `email`. The resolver includes a query field `users` that resolves to fetch all users from the Prisma database.
2024-09-24 16:52:09 +07:00
e84f89f09e Add prisma:generate script to package.json 2024-09-09 16:36:34 +07:00
30e7ec74b6 Add GraphqlService to handle GraphQL requests 2024-09-09 16:14:21 +07:00
fbe03be7ca Add logging for server bootstrap 2024-09-09 14:52:22 +07:00
e543ac0818 Update project configuration files 2024-09-09 13:58:28 +07:00