Skip to content

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

Notifications You must be signed in to change notification settings

formelio/nuts-registry-admin-demo

 
 

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 [email protected]. The password is generated and printed in the log on startup.

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 51.7%
  • Go 39.0%
  • JavaScript 6.4%
  • CSS 1.9%
  • Other 1.0%