Express is mainly used for creating servers.
Axios is used for intermediate(server to server) communication.
To start with navigate to myfrontend/auth.html
for better experience - open console and analyse how dashboard works.
Note: Node Version : 10.19.0
node index.js
: runs on PORT 3000
Connects to mysql
server and handles login and most of the user requests. For creating certificate sends request to offchain server but unique certificate ID created here.
Uses JWT authentication
node index.js
: runs on PORT 3330
Connects to MongoDB
server (Atlas).
Directly handles download and hash verification requests.
node app.js
: runs on PORT 4000
Hyperledger Fabric network uses JWT authentication (For admins)
Not exposed directly to users.
Can check couch DB here: http://localhost:7984/_utils/#database/mychannel_fabsc/_all_docs
Frontend pages in html which act as primary UI.
script for starting all the services
sql script for creating tables in MYSQL
recommended versions of software
MySQL database schema
##postmancollections :
import in POSTMAN to get request structures
For flow of requests refer notes.pdf
and flow.png