This is template to build webapp for certificate management that run on nuchain network.
Build using Nuxt.js.
- Create certificate
- Issue certificate
- View certificate
- Generate printable PDF
- Configurable view and PDF print layout.
- 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.
- Copy file
.env-example
to.env
- Edit the file
.env
as you needs - Run the following commands:
# initiate your environment variable
$ source .env
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
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.
Please adjust ttdmap.ts
for mapping signer name to hand writing human signature image,
signature images stored in /assets/ttd
.
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.