This repositary contains all the frontend and baceknd materials for the issuer's web application of Person Verification Digital Platform
This application is responsible for granting the eligibility of the verifiers and the wallet owners to use digital distributed identity
- NodeJS
- NPM
- Metamask
-
Installing packages in front end
$ cd client$ npm install -
Installing packages in back end
$ cd server$ npm install
-
Start Front end
$ cd client$ npm start -
Start Back end
$ cd server$ npm start -
Test Front end
$ cd client$ npm test -
Test Back end
$ cd server$ npm test
📃 Frontend Environment Variables
- REACT_APP_API_URL = {url of your backeend API + "/api/v1" }
- REACT_APP_SITE_NAME = {your site name}
- REACT_APP_SECRET_KEY = {symmetric key shared by both web and the mobile app for encryption and decryption}
- REACT_APP_SECRET = {symmetric key shared by both web and the mobile app for verification of the application}
📃 Backend Environment Variables
- DATABASE={mongodb database name}
- CONNECTION_STRING = {mongodb database connection string}
- API_URL = /api/v1
- pvdp_jwtPrivateKey = {jwt seceret key}
- TRANSPORTER_USERNAME = {email address of your account used for mail services of the web app}
- TRANSPORTER_PWD = {password of the mail service account}
- CLOUD_NAME = {cloudinary credetials: cloud name}
- CLOUD_KEY = {cloudinary credetials: cloud key}
- CLOUD_KEY_SECRET = {cloudinary credetials: cloud key secret}
