Skip to content

Altinn platform microservice for handling register data

Notifications You must be signed in to change notification settings

Altinn/altinn-register

Repository files navigation

Altinn Register

Build status

Register build status

Getting Started

These instructions will get you a copy of the register 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

Running the solution locally

Clone Altinn Register repo and navigate to the folder.

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

In a docker container

To start a Register docker container

podman compose up -d --build

To stop the container running Register

podman stop altinn-register

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

With .NET

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

Navigate to src/Register, and build and run the code from there, or run the solution using you selected code editor

dotnet run

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