Commit Graph

861 Commits

Author SHA1 Message Date
Marvin Zhang
ddff881954 chore: update Go version and dependencies
- Updated Go version in go.work and backend/go.mod to 1.23.7
- Updated various dependencies in go.sum and backend/go.sum
- Refactored models to remove generic type parameters from BaseModel
- Introduced new utility functions for consistent API responses
- Removed unused utility files from controllers
2025-03-12 23:20:06 +08:00
Marvin Zhang
17f8917d0a chore: update dependencies and enhance gRPC services
- Updated various dependencies in go.mod and go.sum files, including cloud.google.com/go/compute/metadata to v0.5.2, google.golang.org/grpc to v1.69.2, and google.golang.org/protobuf to v1.36.1.
- Refactored gRPC service definitions to use the latest protoc-gen-go and protoc versions, ensuring compatibility with the latest gRPC-Go features.
- Introduced a new logger utility in core/utils/logger.go to improve logging capabilities across the application.
- Added a README.md for gRPC setup and compilation guidance, enhancing developer experience.
- Improved the Python installation script to handle version listing more effectively and ensure user-specific environment setup.
2024-12-25 17:46:49 +08:00
Marvin Zhang
2a33bd40f5 chore: update dependencies in go.mod and go.sum files
- Added github.com/common-nighthawk/go-figure as a new indirect dependency in both backend and core modules to support logo rendering functionality.
- Removed the github.com/imroc/req dependency from backend and go.sum files, streamlining the dependency list and improving project organization.
2024-12-25 14:16:38 +08:00
Marvin Zhang
3243c2cee4 refactor: remove db module from Dockerfile and consolidate dependencies
- Removed the db module from the Dockerfile, reflecting the recent refactor that consolidates database functionality into the core/mongo package.
- This change simplifies the Docker image setup by eliminating unnecessary dependencies and improving overall project organization.
2024-12-25 10:48:28 +08:00
Marvin Zhang
dc59599509 refactor: remove db module and update imports to core/mongo
- Deleted the db module, consolidating database-related functionality into the core/mongo package for better organization and maintainability.
- Updated all import paths across the codebase to replace references to the removed db module with core/mongo.
- Cleaned up unused code and dependencies, enhancing overall project clarity and reducing complexity.
- This refactor improves the structure of the codebase by centralizing database operations and simplifying module management.
2024-12-25 10:28:21 +08:00
Marvin Zhang
3932b298bf chore: refine Docker build process and update context paths
- Updated GitHub Actions workflow to specify the Dockerfile location and set the build context to the root of the repository.
- Modified Dockerfile to copy backend and other required modules from their respective directories, improving the build process.
2024-12-20 12:17:15 +08:00
Marvin Zhang
83b81c8353 chore: update Docker configuration and ignore files
- Updated .dockerignore to exclude temporary files, Git directories, and Node modules.
- Modified Dockerfile to copy required modules from the parent directory and build the Go application from the backend directory.
2024-12-20 12:10:23 +08:00
Marvin Zhang
f5631f965d chore: updated deps 2024-12-20 12:00:14 +08:00
Marvin Zhang
4d28421043 chore: updated deps 2024-12-20 11:49:41 +08:00
Marvin Zhang
f823c7fc14 chore: updated deps 2024-12-17 19:34:48 +08:00
Marvin Zhang
c945e093d5 chore: updated deps 2024-12-16 22:28:13 +08:00
Marvin Zhang
27a8f197c2 feat: updated dependency config setup 2024-12-16 21:48:07 +08:00
Marvin Zhang
3b54a63bed chore: updated deps 2024-12-14 22:20:30 +08:00
Marvin Zhang
2b934076bf chore: updated deps 2024-12-11 22:08:30 +08:00
Marvin Zhang
f1d0613f49 ci: trigger workflow 2024-11-24 10:41:57 +08:00
Marvin Zhang
a40bcee71a chore: updated deps 2024-11-22 21:31:31 +08:00
Marvin Zhang
b98c72d45e chore: updated deps 2024-11-22 21:23:01 +08:00
Marvin Zhang
5237f06de9 chore: updated deps 2024-11-22 19:46:44 +08:00
Marvin Zhang
497f615c5f chore: updated deps 2024-11-22 18:11:37 +08:00
Marvin Zhang
c8c86e1644 ci: updated dockerfile 2024-11-22 18:04:22 +08:00
Marvin Zhang
c4adcd3bb4 ci: updated dockerfile 2024-11-22 18:01:35 +08:00
Marvin Zhang
2b3473dc48 chore: updated deps 2024-11-22 17:55:20 +08:00
Marvin Zhang
b3261343b8 refactor: code cleanup 2024-11-20 18:22:27 +08:00
Marvin Zhang
1e2cad899d ci: updated dockerfiles 2024-11-20 14:21:05 +08:00
Marvin Zhang
bbeb752e17 chore: added debug code 2024-11-19 18:34:59 +08:00
Marvin Zhang
e62b1c1781 fix: incorrect exec bin name 2024-11-19 17:55:00 +08:00
Marvin Zhang
b56a3cb807 chore: updated deps 2024-11-19 17:47:24 +08:00
Marvin Zhang
98a9c907c9 fix: test case issue 2024-11-19 17:40:44 +08:00
Marvin Zhang
a3b286558b refactor: consolidated configs 2024-11-18 16:48:09 +08:00
Marvin Zhang
95bba25e69 chore: updated config 2024-10-29 15:44:02 +08:00
Marvin Zhang
8f54472fb2 ci: updated dockerfile 2024-10-29 15:21:32 +08:00
Marvin Zhang
349c588a2b chore: updated deps 2024-10-29 14:51:11 +08:00
Marvin Zhang
7d09f2c6f0 refactor: revert to backend as main entry 2024-10-29 14:48:35 +08:00
Marvin Zhang
1c03cb3e5c refactor: code cleanup 2024-10-29 12:59:45 +08:00
Marvin Zhang
82e078076c refactor: cleanup code 2024-10-25 11:18:57 +08:00
Marvin Zhang
3544724f47 ci: trigger workflow 2024-10-25 09:42:33 +08:00
Marvin Zhang
382c1c018c ci: trigger workflow 2024-10-23 14:56:14 +08:00
Marvin Zhang
575b66f338 ci: trigger workflow 2024-10-23 14:41:02 +08:00
Marvin Zhang
65ee3acf2c ci: updated workflow 2024-10-23 13:59:05 +08:00
Marvin Zhang
dc009869c1 ci: updated workflow 2024-10-23 13:51:18 +08:00
Marvin Zhang
43d6aad1bd ci: trigger workflow 2024-10-23 11:45:20 +08:00
Marvin Zhang
baf9c85986 ci: trigger workflow 2024-10-23 11:17:12 +08:00
Marvin Zhang
99c2611973 ci: updated workflow 2024-10-23 11:09:43 +08:00
Marvin Zhang
ab9afe2acd ci: updated workflow 2024-10-23 11:00:49 +08:00
Marvin Zhang
2d7326748c ci: updated workflow 2024-10-23 10:42:40 +08:00
Marvin Zhang
0334cd8c11 ci: updated workflow 2024-10-23 10:03:16 +08:00
Marvin Zhang
2f641a0d04 ci: updated workflow 2024-10-23 09:43:55 +08:00
Marvin Zhang
89b9ed7cef ci: updated workflow 2024-10-23 09:38:08 +08:00
Marvin Zhang
b2de67b4fd ci: updated workflow 2024-10-22 16:05:56 +08:00
Marvin Zhang
b6371a34c3 ci: updated workflow 2024-10-22 16:02:32 +08:00