Implement Feedback Management System with CRUD Operations and API Enhancements
- Introduced a new feedback management system, including the creation of feedback entities, services, and repositories. - Implemented CRUD operations for feedback, allowing users to submit likes and dislikes on tenders. - Developed administrative endpoints for listing and retrieving feedback with comprehensive filtering options. - Enhanced public API to allow users to view feedback related to tenders. - Updated Swagger documentation to reflect new feedback endpoints and their functionalities. - Removed obsolete configuration file `config.yaml` as part of the transition to a modular configuration system. - Ensured adherence to Clean Architecture principles throughout the implementation.
This commit is contained in:
@@ -8,6 +8,8 @@ help:
|
||||
@echo " build - Build the web server"
|
||||
@echo " build-mac - Build for macOS (Intel)"
|
||||
@echo " build-mac-arm64 - Build for macOS (Apple Silicon)"
|
||||
@echo " build-windows - Build for Windows (64-bit)"
|
||||
@echo " build-windows-32 - Build for Windows (32-bit)"
|
||||
@echo " build-all - Build for all platforms"
|
||||
@echo " run - Run the web server"
|
||||
@echo " test - Run tests"
|
||||
@@ -36,8 +38,22 @@ build-mac-arm64:
|
||||
@GOOS=darwin GOARCH=arm64 go build -o bin/web-mac-arm64 ./cmd/web
|
||||
@echo "macOS ARM64 build completed successfully!"
|
||||
|
||||
# Build for Windows (64-bit)
|
||||
build-windows:
|
||||
@echo "Building web server for Windows (64-bit)..."
|
||||
@mkdir -p bin
|
||||
@GOOS=windows GOARCH=amd64 go build -o bin/web.exe ./cmd/web
|
||||
@echo "Windows 64-bit build completed successfully!"
|
||||
|
||||
# Build for Windows (32-bit)
|
||||
build-windows-32:
|
||||
@echo "Building web server for Windows (32-bit)..."
|
||||
@mkdir -p bin
|
||||
@GOOS=windows GOARCH=386 go build -o bin/web-32.exe ./cmd/web
|
||||
@echo "Windows 32-bit build completed successfully!"
|
||||
|
||||
# Build for all platforms
|
||||
build-all: build build-mac build-mac-arm64
|
||||
build-all: build build-mac build-mac-arm64 build-windows build-windows-32
|
||||
@echo "All platform builds completed successfully!"
|
||||
|
||||
# Run the web server
|
||||
|
||||
Reference in New Issue
Block a user