API server (backend/cmd/api): - we load configuration - init logger - create echo server instance - we define the middleware pipeline --- recover --- request_id --- logger_format --- cors (ross-Origin Resource Sharing) --- security_headers --- gzip_compresssion - route_mapping - star_server - graceful_shutdown add-ons: - healthCheckHandler() - customHTTPErrorHandler() This commit establishes the foundation for all future development. Story: E1-002 - Backend Project Initialization (main echo server) |
||
|---|---|---|
| .. | ||
| main.go | ||