Commit Graph

20 Commits

Author SHA1 Message Date
01c92b2303 Update package.json to include SWC dependencies and refactor Jest configuration; remove unused DevtoolsModule import from app.module.ts for cleaner code. 2024-11-26 04:33:23 +07:00
a1ca5c62fb Enhance NestJS application with SWC builder configuration, add @nestjs/devtools-integration for development support, and refactor various components for improved readability. Update package dependencies and streamline import statements across multiple files. 2024-11-26 04:26:55 +07:00
667dc9e09d implement some cron task 2024-11-25 18:16:50 +07:00
56ba2808c8 day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem 2024-11-05 15:02:53 +07:00
152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
ba54d3466c optimize context 2024-10-29 01:54:19 +07:00
48305a3948 AI da dat ten cho dong song 2024-10-26 11:10:14 +07:00
f9967ac5bd refactor and update get url logic 2024-10-17 17:02:03 +07:00
7d7765c70f run eslint 2024-10-15 20:05:54 +07:00
1f86786e1a refactor api 2024-10-13 18:07:13 +07:00
ba77bd4e1c update many graphql field 2024-10-12 16:34:43 +07:00
85026556b2 met qua 2024-10-11 17:11:47 +07:00
dfa6b35399 refactor codebase and pothos structure 2024-10-07 10:07:08 +07:00
83b453c3b8 thang an bi ngu 2024-10-06 20:42:02 +07:00
8de46af300 Refactor GraphQL schema to enhance Service query with additional filtering and sorting options, and add a new Restful module 2024-10-06 13:41:56 +07:00
7ce33c6c3a Refactor code structure and dependencies 2024-09-29 22:52:30 +07:00
258a35d364 Refactor code structure and dependencies
- Remove unused files and modules
- Update submodule URL for epess-database
- Update DATABASE_URL in compose.yaml
- Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue
- Enable strict mode in tsconfig.json
- Add UsersService and UsersResolver in users module
- Remove AppService and AppController
- Update main.ts to remove unused imports and log statement
- Add PrismaModule and PrismaService
- Add PrismaContextMiddleware
- Update GraphQL module to use schema and PrismaService
- Update package.json dependencies and devDependencies
2024-09-27 06:21:04 +07:00
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
30e7ec74b6 Add GraphqlService to handle GraphQL requests 2024-09-09 16:14:21 +07:00
e543ac0818 Update project configuration files 2024-09-09 13:58:28 +07:00