@@ -46,7 +46,7 @@ agent-manager-service/
4646- ** PostgreSQL** : Version 12 or later
4747- ** Make** : For build automation
4848- ** air** go install github.com/air-verse/air@latest
49- - ** moq** go install github.com/matryer/moq@v0.3.4
49+ - ** moq** go install github.com/matryer/moq@v0.5.3
5050
5151## Local Development
5252
@@ -66,21 +66,20 @@ go mod download
6666### 3. Set Up Database
6767
6868### 4. Configurations
69- <!-- Update this section when adding new configs-->
70- The service uses environment variables for configuration. Create a ` .env ` file in the project root:
71-
7269
73- | ** Key** | ** Description** |
74- | ----------------| -----------------------------------------|
75- | ` SERVER_HOST ` | Host address where the server runs |
76- | ` SERVER_PORT ` | Port number for the server |
77- | ` DB_HOST ` | Database host address |
78- | ` DB_PORT ` | Database port number |
79- | ` DB_USER ` | Username for database authentication |
80- | ` DB_PASSWORD ` | Password for database authentication |
81- | ` DB_NAME ` | Name of the database |
70+ <!-- Update this section when adding new configs-->
8271
72+ The service uses environment variables for configuration. Create a ` .env ` file in the project root:
8373
74+ | ** Key** | ** Description** |
75+ | ------------- | ------------------------------------ |
76+ | ` SERVER_HOST ` | Host address where the server runs |
77+ | ` SERVER_PORT ` | Port number for the server |
78+ | ` DB_HOST ` | Database host address |
79+ | ` DB_PORT ` | Database port number |
80+ | ` DB_USER ` | Username for database authentication |
81+ | ` DB_PASSWORD ` | Password for database authentication |
82+ | ` DB_NAME ` | Name of the database |
8483
8584### 5. Run Database Migrations
8685
@@ -99,6 +98,7 @@ make run
9998```
10099
101100or run Air directly:
101+
102102``` bash
103103cd agent-management-platform/agent-manager-service
104104air
107107The service will start on ` http://localhost:8910 ` by default with hot-reloading enabled.
108108
109109### 7. Run tests
110+
110111``` bash
111112cd agent-management-platform/agent-manager-service
112113make test
@@ -123,12 +124,11 @@ make test
123124- ** Model generation from the API specification** - ` make spec `
124125
125126## Scripts
127+
126128Run make help to see all available commands.
127129
128130## API Documentation
129131
130132### OpenAPI Specification
131133
132134The API is documented using OpenAPI 3.0 specification in ` docs/api_v1_openapi.yaml ` .
133-
134-
0 commit comments