Skip to content

nikhilchennam/GenMedzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakeMedzz

FakeMedzz is a product authentication and consumer engagement company that helps in analysing counterfeit medicines. The main motto of our website is save people from being counterfeited.

Tech Stack

  1. node.js
  2. truffle
  3. ganache
  4. web3
  5. solidity
  6. HTML/CSS/JS
  7. Firebase

Prerequisites

  1. Node.js- to check if you have already installed node in your system run the command, node -v (Version v14.16.1)
  2. Ganache Personal Blockchain(version)
  3. Truffle Framework(version v5.3.0)
  4. Install Metamask as Chrome extension

Setup

To run this on your local system, follow these steps:

  1. Clone this repository.
      https://github.com/nikhilchennam/fakeMedzz.git
  1. Install all the dependencies.

      npm install
      npm install web3
      npm install -g truffle
      npm install -g truffle contracts
      npm install lite server --save
      
  1. Open Ganache and connect metamask

  2. Run the following command:

     run dev
      

You're all set! Head to localhost:7545 or http://127.0.0.1:7545 on your browser to check out 'FakeMedzz'.

Start Development

  1. Start new terminal tab and start compiling contract codes
    truffle compile

  1. Test contract using truffle
    truffle test

3.If you want to test it using front end migrate contract to ganache local network and make sure you copy some addresses to MetaTask. hence, deployer will has all the roles and he is the only one can approve or give regulator role to another address.

    truffle migrate --reset

  1. Locate to Frontend project and start development
    cd frontend_project_name && npm run dev

Built With

  1. Solidity - Ethereum's smart contract programming language
  2. web3.js - Javascript library used to interact with the Ethereum blockchain

Team - Monsters

Nikhil Chennam

Rahul

Prashanth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published