https://github.com/altinn/altinn-register
Altinn platform microservice for handling register data
https://github.com/altinn/altinn-register
Last synced: over 1 year ago
JSON representation
Altinn platform microservice for handling register data
- Host: GitHub
- URL: https://github.com/altinn/altinn-register
- Owner: Altinn
- Created: 2022-02-21T21:15:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T13:48:32.000Z (about 2 years ago)
- Last Synced: 2024-04-22T13:55:56.397Z (about 2 years ago)
- Language: C#
- Size: 430 KB
- Stars: 0
- Watchers: 18
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Altinn Register
## Build status
[](https://dev.azure.com/brreg/altinn-studio/_build/latest?definitionId=35)
## 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](https://dotnet.microsoft.com/download/dotnet/8.0)
2. Newest [Git](https://git-scm.com/downloads)
3. A code editor - we like [Visual Studio Code](https://code.visualstudio.com/download)
- Also install [recommended extensions](https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions) (e.g. [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp))
4. [Podman](https://podman.io/) or another container tool such as Docker Desktop
## Running the solution locally
Clone [Altinn Register repo](https://github.com/Altinn/altinn-register) and navigate to the folder.
```bash
git clone https://github.com/Altinn/altinn-register
cd altinn-register
```
### In a docker container
To start a Register docker container
```cmd
podman compose up -d --build
```
To stop the container running Register
```cmd
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
```cmd
dotnet run
```
The register solution is now available locally at http://localhost:5020/.
To access swagger use http://localhost:5020/swagger.