/altinn-events

Altinn platform microservice for handling events

Primary LanguageC#MIT LicenseMIT

Altinn Events

Create and subscribe to events from apps or other sources.
Documentation: https://docs.altinn.studio/events

Build status

Events build status

Getting Started

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

Prerequisites

  1. .NET 6.0 SDK
  2. Code editor of your choice
  3. Newest Git
  4. Docker CE
  5. Solution is cloned
  6. PostgreSQL is installed locally (see handbook)

Running the events component

In a docker container

Clone Altinn Events repo and navigate to the root folder.

docker-compose up -d --build

With .NET

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

Stop the container running Events

docker stop altinn-events

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

cd src/Events
dotnet run

The events solution is now available locally at http://localhost:5080/api/v1