/aiala.backend

Backend services, business logic and persistence for AIALA

Primary LanguageC#MIT LicenseMIT

aiala.backend

Backend services, business logic, persistence and authentication for AIALA

Project structure

AIALA backend constist of two separate web applications.

Backend and is responsible to provide all RESTful api services, business logic and persistence.

Token server is responsible for authentication and issuing tokens to use against backend. Therefore IdentityServer4 will be used.

How to build

Both AIALA backend projects are build against ASP.NET Core 2.1 and are using several 3rd party libraries and components.

dotnet restore
dotnet build
dotnet run

Package feed

Configure package feeds (especially xappido Portal package feed) either globally or locally within aiala.backend.

Add xappido feed globally by using nuget cli and authorize by using credential provider

nuget sources Add -Name "xappido" -Source https://xappido.pkgs.visualstudio.com/...

If your prefer configure feed locally, use Visual Studios' NuGet Package Manager or add a nuget.config file to your project, in the same folder as .sln file.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="xappido" value="https://xappido.pkgs.visualstudio.com/..." />
  </packageSources>
</configuration>

Configuration

All required options for backend and as well for token server are within their project located on file appsettings.json.

While development time it's recommended to use Secret Manager to store sensitive data within secrets.json file.

How to run

Configure both projects backend and token server as startup projects and run those. Launch options are stored on properties/launchSettings.json and are defined as default to:

Documentation

See mentioned documentation for any further information. If you like to use AIALA within your organisation feel free and get in touch with AIALA Project Team.

Backend API documentation will be genereated at runtime and is available at http://localhost:5500/api/docs.