Skip to content

Demo application which shows how to integrate with the Nuts registry.

License

Notifications You must be signed in to change notification settings

nuts-foundation/nuts-registry-admin-demo

This branch is up to date with master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

002883d · Oct 15, 2024
Oct 15, 2024
Apr 18, 2023
Aug 9, 2023
May 17, 2023
Apr 8, 2021
Apr 18, 2023
Mar 7, 2023
Aug 14, 2023
Feb 23, 2023
May 17, 2023
Dec 18, 2023
Dec 18, 2023
Aug 9, 2023
Dec 18, 2023
Dec 18, 2023
Apr 13, 2021
Feb 23, 2023
Mar 9, 2023
Mar 10, 2023

Repository files navigation

nuts-registry-admin-demo

Demo application which shows how to integrate with the Nuts registry.

Building and running

Production

To build for production:

$ npm install
$ npm run build
$ go run .

This will serve the front end from the embedded filesystem.

Development

During front-end development, you probably want to use the real filesystem and webpack in watch mode:

$ npm install
$ npm run watch
$ go run . live

The API and domain types are generated from the api/api.yaml.

$ oapi-codegen -generate server -package api api/api.yaml > api/generated.go
$ oapi-codegen -generate types -package domain -o domain/generated_types.go api/api.yaml

Docker

$ docker run -p 1303:1303 nutsfoundation/nuts-registry-admin-demo

Configuration

When running in Docker without a config file mounted at /app/server.config.yaml it will use the default configuration. In this case the default username will be demo@nuts.nl. The password is generated and printed in the log on startup.

The nutsnodeapikeyfile config parameter should point to a PEM encoded private key file. The corresponding public key should be configured on the Nuts node in SSH authorized keys format. nutsnodeapiuser Is required when using Nuts node API token security. It must match the user in the SSH authorized keys file.

Technology Stack

Frontend framework is vue.js 3.x

Icons are from https://heroicons.com

CSS framework is https://tailwindcss.com

About

Demo application which shows how to integrate with the Nuts registry.

Resources

License

Stars

Watchers

Forks