Skip to content

Webapp template for certificate management in nuchain ecosystem

Notifications You must be signed in to change notification settings

nusantarachain/certificate-webapp

Repository files navigation

Certificate Webapp

This is template to build webapp for certificate management that run on nuchain network.

Build using Nuxt.js.

Features

  1. Create certificate
  2. Issue certificate
  3. View certificate
  4. Generate printable PDF
  5. Configurable view and PDF print layout.

Customization

  • App configuration can be found in .env-example file.
  • Busines logic configuration can be found in app.config.js file, please edit accordingly.
  • To replace logo please replace organization/company logo file in /assets with your prefered logo.

Build Setup

  1. Copy file .env-example to .env
  2. Edit the file .env as you needs
  3. Run the following commands:
# initiate your environment variable
$ source .env

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

Deployment

For deployment we only need the compiled static files, you can get compiled static files by typing:

$ yarn generate

All compiled static files will be in /dist directory.

TTD

Please adjust ttdmap.ts for mapping signer name to hand writing human signature image, signature images stored in /assets/ttd.

Example

When running in development mode and use .env from .env-example (without edit) you can navigate the browser to: http://localhost:3000/?i=Nk62sTxYcDn, and you can see single certificate page, you can customize by editing pages/index.vue file.

nuchain certificate webapp example

About

Webapp template for certificate management in nuchain ecosystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published