Verify certificates from any government agencies.
NodeJS lts/fermium (v.14.15.0)
. If you're using nvm, run nvm use
to ensure you're using the same Node version in local and in Netlify's runtime.
To run locally, ensure the required environment variables are set in .env
. Refer to .env.example:
NEXT_PUBLIC_GTAG_ID=G-xxx
NEXT_PUBLIC_WOGAA_ENV=development
NEXT_PUBLIC_API_VERIFY_URL=https://stg.api.verify.gov.sg/verify
NEXT_PUBLIC_INFURA_API_KEY=xxx
NEXT_PUBLIC_NETWORK_NAME=ropsten
NEXT_PUBLIC_WHITELISTED_ISSUERS=gov.sg,openattestation.com
npm i
npm run dev
npm run build
npm start