Demo application which shows how to integrate with the Nuts registry.
To build for production:
$ npm install
$ npm run build
$ go run .
This will serve the front end from the embedded filesystem.
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 run -p 1303:1303 nutsfoundation/nuts-registry-admin-demo
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 [email protected]
. The password is generated and printed in the log on startup.
Frontend framework is vue.js 3.x
Icons are from https://heroicons.com
CSS framework is https://tailwindcss.com