Skip to content

storswiftlabs/medical-validityML-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

medical-zkML-backend

This repository contains all code for the medical validityML backend.

Getting Started

Prerequisites

  • Install Golang, golang version >= 1.20
  • Install Docker, docker version >= v0.11.2

Get the code

git clone  https://github.com/storswiftlabs/medical-validityML-backend.git

Server startup

medical-validityML-backend
make build

Introducing the required libraries for Python

pip install -r requirements.txt

Configure database connections, IPFS information, and agreed addresses in the configuration file under the project root path (config.yaml). database:

database:
  mysql:
    driverName: MYSQL
    host: LOCALHOST
    port: '3306'
    user: ROOT
    password: EXAMPLE
    schema: 
    database: MEDICAL-ZKML

IPFS:

ipfs:
  url: https://api.nft.storage/upload
  auth: IPFS_AUTH

GIZA:

giza:
  user: GIZA_USER
  passwd: GIZA_PASSWORD
  email: GIZA_EMAIL

Start service

bash medical &