Commit Graph

258 Commits

Author SHA1 Message Date
0e3aa751ce Fixing file name casing 2024-10-12 23:15:06 +07:00
5c40a2fd53 very tired 2024-10-12 23:07:01 +07:00
633d2feb8f change CI 2024-10-12 22:46:52 +07:00
06d7c3a935 fix unexpected prismaclient generate 2024-10-12 22:37:02 +07:00
7131d147ea add minio service and start workaround on CI pipeline 2024-10-12 22:07:46 +07:00
9c111965c5 uppdate workshop mutation 2024-10-12 17:41:38 +07:00
ed694f4ab7 💕💕💕💕💕 2024-10-12 17:26:43 +07:00
4fac0a052b 🔥🔥🔥🔥🔥🔥 2024-10-12 17:11:09 +07:00
ba77bd4e1c update many graphql field 2024-10-12 16:34:43 +07:00
244a6f3015 add service mutation 2024-10-11 18:07:03 +07:00
a454a91e0a add mutation update user info 2024-10-11 18:01:40 +07:00
c3678cf6c5 more mutation on center 2024-10-11 17:58:13 +07:00
2893b43d30 update user mutation 2024-10-11 17:55:29 +07:00
01b8400a7a update user query 2024-10-11 17:19:47 +07:00
fc32bf2b74 database update 2024-10-11 17:12:41 +07:00
85026556b2 met qua 2024-10-11 17:11:47 +07:00
9023725fc4 implement service query 2024-10-08 12:55:22 +07:00
78abde5e25 buon ngu lam roi 2024-10-07 20:46:46 +07:00
5c836323b0 troi mua qua 2024-10-07 20:46:20 +07:00
30159e01ad tao da het bi ngu 2024-10-07 17:29:44 +07:00
dfa6b35399 refactor codebase and pothos structure 2024-10-07 10:07:08 +07:00
29ec9c5360 an qua la ngu 2024-10-06 20:42:13 +07:00
83b453c3b8 thang an bi ngu 2024-10-06 20:42:02 +07:00
An Vu
7b678a7ef2 create service feedback page 2024-10-06 20:38:07 +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
67f6e7cc57 Refactor CORS configuration and add utility, update package.json for dev start command, and create GraphQL query/mutation files 2024-10-06 12:36:15 +07:00
121396aa8f Add SortOrder enum and enhance Service query with sorting and filtering options 2024-10-06 12:09:58 +07:00
aa5817fb06 Add type-graphql dependency and extend GraphQL schema with new types and fields 2024-10-06 11:04:31 +07:00
89eaffb5bb Update submodule commit for epess-database 2024-10-06 10:49:49 +07:00
727f730491 Refactor code structure and dependencies in schema.ts and roles.decorator.ts 2024-09-30 12:08:31 +07:00
9859c9138f Update submodule URL for epess-database 2024-09-29 22:52:45 +07:00
7ce33c6c3a Refactor code structure and dependencies 2024-09-29 22:52:30 +07:00
88176bddc1 Refactor code structure and dependencies 2024-09-29 21:46:03 +07:00
34d9ee63e6 Update submodule URL for epess-database 2024-09-27 06:51:29 +07:00
6cc26c0f75 Refactor code structure and dependencies 2024-09-27 06:51:14 +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
8fe5e62870 Update submodule URL for epess-database 2024-09-25 07:39:48 +07:00
0003931eeb Update submodule URL for epess-database 2024-09-25 07:39:36 +07:00
3a33894543 Update DATABASE_URL in compose.yaml 2024-09-24 18:06:36 +07:00
163262bf68 Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue 2024-09-24 18:00:58 +07:00
2988f23a2e Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue 2024-09-24 17:51:46 +07:00
d9c27dba89 Update submodule URL for epess-database 2024-09-24 17:45:19 +07:00
3d4ac16dd3 Update CI workflow to fetch submodules during checkout 2024-09-24 17:23:06 +07:00
e66090e699 Update CI workflow to fetch submodules during checkout 2024-09-24 17:07:38 +07:00
b52b977c62 Generate Prisma client during Docker build 2024-09-24 17:01:17 +07:00
5fd0faa5eb Add CI workflow for self-hosted runner 2024-09-24 16:57:22 +07:00
0efb3369e6 Update submodule for epess-database 2024-09-24 16:52:40 +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
118e33884c Add .gitattributes file to enforce LF line endings 2024-09-24 15:21:08 +07:00
5a13ce8a34 Add .dockerignore file to exclude node_modules 2024-09-22 19:11:43 +07:00