This project is a .NET Core 8 API designed to integrate Project Management (Azure DevOps) with a Neo4j database, facilitating the synchronization and manipulation of data between Azure DevOps projects and a Neo4j graph database.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- .NET Core 8 SDK
- Neo4j Database
- Azure DevOps account
- Clone the repository to your local machine.
- Navigate to the project directory.
- Restore the .NET project dependencies by running:
dotnet restore
- Configure the application settings as described in the Configuration section.
Before running the application, update the appsettings.json or your environment variables with the following configurations to match your Azure DevOps and Neo4j setup:
{
"NEO4J_URI": "your_neo4j_host",
"NEO4J_USER": "your_neo4j_user",
"NEO4J_PASSWORD": "your_neo4j_password",
"AADInstance": "https://login.microsoftonline.com/{0}/v2.0",
"Tenant": "your_tenant_id",
"ClientId": "your_client_id",
"ProjectId": "your_project_id",
"OrganizationUrl": "https://dev.azure.com/your_organization/",
"AzureDevOps:PatKey": ""
}
Make sure to replace your_neo4j_host,your_neo4j_user,your_neo4j_password, your_tenant_id, your_client_id, your_project_id, and your_organization with your actual Neo4j and Azure DevOps information.
For sensitive information link NEO4J_PASSWORD and PatKey, please use UserSecrets
To start the application, run:
dotnet run --launch-profile https
This will start the API on a local server (usually http://localhost:5176 and https://localhost:7168).
Eliézer Zarpelão