Coder Social home page Coder Social logo

dgca-issuance-web's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dgca-issuance-web's Issues

How to remove?

How can I remove everything and start new?

Your Question

  • Source File:
  • Line(s):
  • Question:

Compilation Fails

Describe the bug

I am unable to compile and serve the dgca issuance web application.

Error:

Compiled with warnings.

./node_modules/cbor/lib/constants.js
Module not found: Can't resolve 'bignumber.js' in 'C:\repos\eu-dgc\dgca-issuance-web\node_modules\cbor\lib'

src\api.tsx
  Line 22:8:  'axios' is defined but never used  @typescript-eslint/no-unused-vars

src\components\error-page.component.tsx
  Line 28:8:  'useNavigation' is defined but never used                                                                       @typescript-eslint/no-unused-vars
  Line 38:8:  React Hook React.useEffect has a missing dependency: 'props'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src\components\notification-page.component.tsx
  Line 39:8:  React Hook React.useEffect has a missing dependency: 'props'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src\components\record-recovery-cert-data.component.tsx
  Line 23:35:   'FormControlProps' is defined but never used                                                                                                                       @typescript-eslint/no-unused-vars
  Line 31:10:   'IdentifierType' is defined but never used                                                                                                                         @typescript-eslint/no-unused-vars
  Line 34:10:   'registerLocale' is defined but never used                                                                                                                         @typescript-eslint/no-unused-vars
  Line 38:32:   'DiseaseAgentTargeted' is defined but never used                                                                                                                   @typescript-eslint/no-unused-vars
  Line 111:8:   React Hook React.useEffect has a missing dependency: 'testCountryCode'. Either include it or remove the dependency array                                           react-hooks/exhaustive-deps     
  Line 118:8:   React Hook React.useEffect has missing dependencies: 'defaultTestCountryCode' and 'setDefaultTestCountryCode'. Either include them or remove the dependency array  react-hooks/exhaustive-deps     
  Line 157:11:  'handleError' is assigned a value but never used                                                                                                                   @typescript-eslint/no-unused-vars
  Line 260:11:  'formatDate' is assigned a value but never used                                                                                                                    @typescript-eslint/no-unused-vars

src\components\record-test-cert-data.component.tsx
  Line 23:35:   'FormControlProps' is defined but never used         @typescript-eslint/no-unused-vars
  Line 30:10:   'IdentifierType' is defined but never used           @typescript-eslint/no-unused-vars
  Line 33:10:   'registerLocale' is defined but never used           @typescript-eslint/no-unused-vars
  Line 39:17:   'VaccinationEntry' is defined but never used         @typescript-eslint/no-unused-vars
  Line 39:35:   'DiseaseAgentTargeted' is defined but never used     @typescript-eslint/no-unused-vars
  Line 88:12:   'vacLastDate' is assigned a value but never used     @typescript-eslint/no-unused-vars
  Line 88:25:   'setVacLastDate' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 182:11:  'handleError' is assigned a value but never used     @typescript-eslint/no-unused-vars

src\components\record-vaccination-cert-data.component.tsx
  Line 23:35:   'FormControlProps' is defined but never used                                                                                                                           @typescript-eslint/no-unused-vars
  Line 31:10:   'IdentifierType' is defined but never used                                                                                                                             @typescript-eslint/no-unused-vars
  Line 34:10:   'registerLocale' is defined but never used                                                                                                                             @typescript-eslint/no-unused-vars
  Line 38:35:   'DiseaseAgentTargeted' is defined but never used                                                                                                                       @typescript-eslint/no-unused-vars
  Line 123:8:   React Hook React.useEffect has a missing dependency: 'issuerCountryCode'. Either include it or remove the dependency array                                             react-hooks/exhaustive-deps 
  Line 130:8:   React Hook React.useEffect has missing dependencies: 'defaultIssuerCountryCode' and 'setDefaultIssuerCountryCode'. Either include them or remove the dependency array  react-hooks/exhaustive-deps 
  Line 194:11:  'handleError' is assigned a value but never used                                                                                                                       @typescript-eslint/no-unused-vars
  Line 298:11:  'formatDate' is assigned a value but never used                                                                                                                        @typescript-eslint/no-unused-vars

src\components\show-certificate.component.tsx
  Line 59:12:  'dgci' is assigned a value but never used                                                                             @typescript-eslint/no-unused-vars
  Line 92:8:   React Hook React.useEffect has a missing dependency: 'handleError'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src\index.tsx
  Line 24:25:  'HashRouter' is defined but never used  @typescript-eslint/no-unused-vars

src\misc\navigation.tsx
  Line 60:21:  'setMandant' is assigned a value but never used                                                                                            @typescript-eslint/no-unused-vars
  Line 78:8:   React Hook React.useEffect has missing dependencies: 'calculatedRoutes' and 'mandant'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  Line 96:8:   React Hook React.useEffect has missing dependencies: 'history' and 'routes'. Either include them or remove the dependency array            react-hooks/exhaustive-deps

src\misc\utils.tsx
  Line 40:1:  Assign object to a variable before exporting as module default  import/no-anonymous-default-export

src\misc\wbase45.tsx
  Line 32:15:  'x' is already defined                                          @typescript-eslint/no-redeclare
  Line 38:11:  'x' is already defined                                          @typescript-eslint/no-redeclare
  Line 39:12:  'd' is already defined                                          @typescript-eslint/no-redeclare
  Line 39:15:  'c' is already defined                                          @typescript-eslint/no-redeclare
  Line 64:12:  'i' is already defined                                          @typescript-eslint/no-redeclare
  Line 64:19:  'length' is already defined                                     @typescript-eslint/no-redeclare
  Line 84:1:   Assign object to a variable before exporting as module default  import/no-anonymous-default-export

src\root.component.tsx
  Line 28:8:  'LoginInterceptor' is defined but never used                                                                                                     @typescript-eslint/no-unused-vars
  Line 59:6:  React Hook React.useEffect has missing dependencies: 'setStoredMandant' and 'storedMandant'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

src\routing.component.tsx
  Line 32:8:  'Header' is defined but never used        @typescript-eslint/no-unused-vars
  Line 35:8:  'PrivateRoute' is defined but never used  @typescript-eslint/no-unused-vars

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

Expected behaviour

The react app should run with no errors

Steps to reproduce the issue

  1. Checkout https://github.com/eu-digital-green-certificates/dgca-issuance-web/tree/0.0.5
  2. npm install
  3. npm start

Technical details

C:\Users\psavva>systeminfo

Host Name:                 CS11299
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19042 N/A Build 19042
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          csystem
Registered Organization:   N/A
Product ID:                00330-81490-46633-AA440
Original Install Date:     12/16/2020, 10:27:36 AM
System Boot Time:          5/6/2021, 8:36:41 AM
System Manufacturer:       LENOVO
System Model:              81Y4
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 165 Stepping 2 GenuineIntel ~2592 Mhz
BIOS Version:              LENOVO EGCN33WW, 12/24/2020
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+02:00) Athens, Bucharest
Total Physical Memory:     32,636 MB
Available Physical Memory: 19,289 MB
Virtual Memory: Max Size:  37,500 MB
Virtual Memory: Available: 22,045 MB
Virtual Memory: In Use:    15,455 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\CS11299
Hotfix(s):                 10 Hotfix(s) Installed.
                           [01]: KB4601554
                           [02]: KB4562830
                           [03]: KB4570334
                           [04]: KB4577266
                           [05]: KB4577586
                           [06]: KB4580325
                           [07]: KB4593175
                           [08]: KB4598481
                           [09]: KB5001391
                           [10]: KB5003156
Network Card(s):           8 NIC(s) Installed.
                           [01]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: Wi-Fi
                                 Status:          Media disconnected
                           [02]: Realtek PCIe GbE Family Controller
                                 Connection Name: Ethernet
                                 DHCP Enabled:    Yes
                                 DHCP Server:     10.16.1.118
                                 IP address(es)
                                 [01]: 10.16.20.216
                                 [02]: fe80::79d2:d59f:5cac:1251
                           [03]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [04]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.23.208.1
                                 [02]: fe80::4123:ca71:1113:8d1
                           [05]: TAP-Windows Adapter V9 for OpenVPN Connect
                                 Connection Name: Local Area Connection 2
                                 Status:          Media disconnected
                           [06]: Fortinet Virtual Ethernet Adapter (NDIS 6.30)
                                 Connection Name: Ethernet 3
                                 Status:          Media disconnected
                           [07]: Fortinet SSL VPN Virtual Ethernet Adapter
                                 Connection Name: Ethernet 4
                                 Status:          Hardware not present
                           [08]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (WSL)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.29.128.1
                                 [02]: fe80::74b3:872e:26aa:652b
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Possible Fix

Provide compilation instructions, as I assume my steps above are wrong?

Additional context

PS C:\repos\eu-dgc\dgca-issuance-web> npm -v
6.14.9
PS C:\repos\eu-dgc\dgca-issuance-web> npm version
{
  'dgca-issuance-web': '0.1.0',
  npm: '6.14.9',
  ares: '1.16.1',
  brotli: '1.0.9',
  cldr: '37.0',
  icu: '67.1',
  llhttp: '2.1.3',
  modules: '83',
  napi: '7',
  nghttp2: '1.41.0',
  node: '14.15.2',
  openssl: '1.1.1g',
  tz: '2020a',
  unicode: '13.0',
  uv: '1.40.0',
  v8: '8.4.371.19-node.17',
  zlib: '1.2.11'
}

Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from localhost:3001 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

Your Question

when i start with yarn, this error appears :
Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from localhost:3001 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

Deploy on BTP

Deploy current version of issuance-web and -service on BTP.

Proxy error

Guys, this I s what I'm getting:

**Compiled successfully!

You can now view dgca-issuance-web in the browser.

Local: http://localhost:3000
On Your Network: http://192.168.1.12:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from localhost:3000 to http://127.0.0.1:8080.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).**

I tried and tried again and the error cannot be solved. I mean, changing proxy to localhost:3000 still brings to an eternally waiting page.... I guess there's other issues in the code

feat: basic web ui with react

Create basic ui without IAM and support input of the following data:

  • Firstname / Lastname
  • Date of birth
  • Health data

Failed to compile

./src/assets/SCSS/index.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/assets/SCSS/index.scss)
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v5.0.0

i ran yarn from git bash and gave me this error when opening the web page at the end of computing

error 404

Hello,

When I launch this app, i have a 404 error on fetch valuesset.

I'm sorry for my english. :-)

> > Io ho installato sia su linux che su debian. Stessi comandi.

Io ho installato sia su linux che su debian. Stessi comandi.
node.js vien installato assieme a yarn. non usare rpm. Sono pacchetti gia contenuti nei repo.
Installa yarn col classico:
sudo apt-get install yarn. Poi segui la guida

Ma quindi sei riuscito ad emettere un certificato valido?

No, sono bloccato al punto dopo la compilazione del formatt. Errore: Parametri inseriti invalidi (A..Z - 0...9 )

Originally posted by @Idricus in #138 (comment)

anche a me con l'ultima versione invece con la 1.0.8 non da errori ma andando avanti mi da errore 500

Proxy error: Could not proxy request /dgca-businessrule-service/valuesets

Hello everyone. I am struggling to start server with this proxy error:

Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from 127.0.0.1:3000 to http://localhost:8080. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

Running on the Windows 10 Ubuntu emulation.

Any suggestion ?

errore 500

salve, ho, cancellato tutto, ho installato la versione 1.0.10.
sembra funzionare molto meglio, il problema adesso e l'errore 500 quando premo il tasto next

Error 500

Hi

I got an error 500 is there any solution for this problem?

Transliterate library

Transliterate library for first and last name in the DGC

The JSON schema imposes a transliterated string of the name, only using certain chars ('^[A-Z<]*$')
I would appreciate a method that can transform names having non latin characters to that char set.

I believe all DGC issuers could use that same method.

Errore interpretazione XML: nessun elemento radice trovato Indirizzo: http://localhost:3000/dgca-businessrule-service/valuesets Riga numero 1, colonna 1:

Ciao a tutti, sono italiano.
Dopo aver compilato correttamente e aver lanciato il programma, il browser rimane in caricamento e dalla console mi viene restituito il seguente errore:

Errore interpretazione XML: nessun elemento radice trovato
Indirizzo: http://localhost:3000/dgca-businessrule-service/valuesets
Riga numero 1, colonna 1:

A qualcuno è successo lo stesso?

Grazie mille!

Error start yarn or npm

hello, i need help, after i digit start yarn, this return message:

Failed to compile.

./node_modules/canvg/lib/index.es.js
Module not found: Can't resolve 'svg-pathdata' in '/root/dgca-issuance-web/node_modules/canvg/lib'
Error from chokidar (/root/dgca-issuance-web/node_modules/execa/node_modules/cross-spawn/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/execa/node_modules/cross-spawn/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/react-scripts/node_modules/babel-loader/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/react-scripts/node_modules/babel-loader/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/css-loader/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/css-loader/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/jsdom/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/jsdom/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/node-sass/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/node-sass/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-jest/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-jest/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-optional-chaining/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-optional-chaining/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-numeric-separator/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-numeric-separator/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-react/node_modules/@babel/plugin-transform-react-display-name/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-react/node_modules/@babel/plugin-transform-react-display-name/node_modules/@babel/core/node_modules/.bin'

Thanks in advance for the support

installazione pacchetti

sto provando ad installare yarn e node.js con rpm con un linux mx debian ma non riesco ad installare i pacchetti è per il tipo di linux ? meglio un ubuntu?

Your Question

  • Source File:
  • Line(s):
  • Question:

Failed to load resource: the server responded with a status of 431 (Request Header Fields Too Large)

Using Chrome (but the same with any other browser) and Windows 10
for http://localhost:3000/dgca-businessrule-service/valuesets

image

I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...

i've already deleted cookies for localhost:3000 and Cleared the Browsing data
added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing

Any idea? Thanks in advance

Help

C'è qualcuno disponibile a configurare e farmi capire come fare per dgca issuance?
Grazie!

All Certificates are Valid for 1 year when generated using the dgca-issuance-web

The QR Code must have a Certificate Valid from and Valid to date set appropriately.
Currently, all QR Codes are valid for exactly 1 Year, which is not correct.

For Vaccination, there should be some variables to consider:

  • Vaccination Date
  • Certificate Valid From = Vaccination Date + X Days (how many days it takes to become immune)
  • Certificate Expiry Date = Vaccination Date + Y Days (Period when the QR Code can be considered as valid)

For Test

  • Valid From = Test Sample Taken Date/Time
  • Valid Until = Valid From + X Hours (in Cyprus this is 72 hours)
  • Positive vs Negative = If a person has Covid, we should NOT allow to generate the Certificate.
  • If for some reason the Certificate is generated for a Covid Positive result, the expiry date must be set to the current date/time, as to have it expired immediately.

For Recovery

  • Valid From = CertificateValidFrom field from the form
  • Valid Until = CertificateValidTo field from the form.
  • Parameter for Valid Days should be defined for validation that will ensure that the ValidUntil does not exceed ValidFrom + Parameter Valid Days.

Add Jest & Testing Library Component Tests

Current Implementation

There's only one test (base45) in the package right now, no component tests or other unit tests

Suggested Enhancement

Adding Jest, edit test script in package.json, adding component tests using Jest & React Testing Library

Expected Benefits

Better testing capability with Jest as a test runner, higher code coverage & quality, more confidence

Please avoid "null" values in CBOR

In optional fields are currently null values. Please replace it by empty content or remove it. The JSON/CBOR must be according to the JSON Schema which allows no null values. The CBOR structure contains currently "undefined" which is interpreted as nil/null from the verifier apps.

Introduce ESLint as webhook

Current Implementation

Husky doesn't autofix the code before committing, in fact the code as a lot of unused variables.

Suggested Enhancement

Enable cleaner code commit with the help of ESlint and git-hooks.

Expected Benefits

The code would be cleaner and easier to maintain.

problem solved but...

per chi ha questo problema, la soluzione è questa

Although it is not specific to this project, I got the exact error in my react project when I was trying to proxy request from http://localhost:3000 to http://localhost:8080.

I solved this issue by removing "proxy": "localhost:8080" from package.json and creating a setupProxy.js file in the src folder with the following code:

const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:8080',
changeOrigin: true,
})
);
};

una volta risolto questo problema che avevo pure io, il sito parte ma mi si apre la schermata con il pallino che gira all infinito.

qualcuno ora saprebbe darmi una mano

Do not compile

Your Question

Hello,
I can't compile because of the error attached.
Any idea please
Thanks

Cattura

Failed to compile

Hello everyone!
I have a problem...after i start yarn start, this error comes out.
Immagine
Can you give me a hand? I'm not very experienced
thanks a lot

Highlight Inactive Values of a Valueset

The values of a valueset should be actively highlighted during the selection if they are marked as active=false. If the value is inactive it should be shown an icon like a warning triangle or something like that.

Request a login and password

Hello,

After installation and all the operations, it asks me for a login and a password when connecting to http: // localhost: 3000 /.

Do you know what to do?

Sorry for my awkward English, I'm French.

thanks very much

Bruno

The PDF shows country of vaccination, instead of country of issuance for the EU Flag with the 2 digit Country Code

The PDF Generated on the 1st page shows the EU Flag, with the 2 Digit Country which the Vaccination was administered.
The PDF front page is supposed to show which country issued the certificate, and not which country administered the vaccination.

The bug exists in this line:

pdf.text(co, x, y, { align: 'center' });

The field should display the Country of Issuance, and not the Country of Vaccinate Administration.

Please see the usage of the field here:
https://github.com/ehn-dcc-development/ehn-dcc-schema/wiki/FAQ#country-code-and-issuer

costica gica

Feature description

Problem and motivation

Is this something you're interested in working on

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.