Altinn / altinn-profile

Altinn platform microservice for handling user profile
0 stars 1 forks source link

Altinn Profile

Build status

Profile build status

Project organization

This is a backend WebAPI solution written in .NET / C# following the clean architecture principles.

Altinn.Profile

The API layer that consumes services provided by Altinn.Profile.Core

Relevant implementations:

Altinn.Profile.Core

The domain and application layer that implements the business logic of the system.

Relevant implementations:

Altinn.Profile.Integrations

The infrastructure layer that implements the interfaces defined in Altinn.Profile.Core for integrations towards 3rd-party libraries and systems.

Relevant implementations:

Getting Started

These instructions will get you a copy of the profile component up and running on your machine for development and testing purposes.

Prerequisites

  1. .NET 8.0 SDK
  2. Newest Git
  3. A code editor - we like Visual Studio Code
  4. Podman or another container tool such as Docker Desktop

Cloning the application

Clone Altinn Profile repo and navigate to the folder.

git clone https://github.com/Altinn/altinn-profile
cd altinn-profile

Running the application in a docker container

podman compose up -d --build
podman stop altinn-profile

Running the application with .NET

The Profile components can be run locally when developing/debugging. Follow the install steps above if this has not already been done.

cd src/Profile
dotnet run

The profile solution is now available locally at http://localhost:5030/. To access swagger use http://localhost:5030/swagger.