This guide walks you through the minimum steps to get a running UpdaterAgent API on your machine and make a real authenticated request. By the end you will have the API running locally, a JWT access token, and a confirmed response from a protected endpoint.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ShohjahonSohibov/repo-for-agent/llms.txt
Use this file to discover all available pages before exploring further.
Install prerequisites
Before cloning, verify the following tools are installed:
- .NET 8 SDK — the backend runtime. Run
dotnet --versionto confirm you see8.0.xor later. - PostgreSQL 16 — the primary database. Run
psql --versionto confirm. - Git — for cloning the repository.
The EF Core CLI tool is also required for database migrations. Install it globally if you have not already:
Clone the repository and restore packages
Clone the repository and switch to the development branch, then restore all NuGet packages.The solution contains four source projects under
src/ and two test projects under tests/. Package restore covers all of them.Create the database and apply migrations
First, create the PostgreSQL database. Connect to your PostgreSQL instance and run:Then open Apply all EF Core migrations to create the full database schema:A successful run ends with
src/UpdaterAgent.Api/appsettings.Development.json and confirm the connection string matches your local PostgreSQL credentials:Done. after listing the applied migrations.If you used a password other than
123456, update the Password field in appsettings.Development.json before running the migration command.Make your first API call
With the server running, exchange credentials for a JWT token.Step 1 — Authenticate
Step 2 — Call a protected endpoint
Use theaccessToken value as a Bearer token in the Authorization header:
Using Swagger instead
- Navigate to
https://localhost:5001/swagger. - Click the Authorize button at the top right.
- Enter
Bearer <your_accessToken>and click Authorize. - Close the dialog and use any endpoint interactively.
Next steps
Full local setup
Detailed instructions for configuring external integrations, seeding data, and setting up your IDE.
Architecture overview
Understand the four-layer Clean Architecture and how the dependency flow is enforced.
Load management
Learn how loads move through the full lifecycle and how to create and assign them via the API.
API reference
Full endpoint reference with schemas, parameters, and response examples.