Trust QR is a platform that uses Blockchain technology and QR codes to combat counterfeiting. Companies can register their products on the platform, and each product will be assigned a unique QR code. Consumers can scan the QR code on a product to validate product authenticity, ensuring it matches the stated brand and providing manufacturing and expiry date details.
This project is based on the Blockchain Technology.
We have used these following technologies
- Frontend : Next.js, CSS
- Backend : FastAPI
- Blockchain : Ganache & Brownie
- Testing : Pytest
To clone the project, open a terminal and navigate to the directory where you want to clone the project. Then, run the following command :
git clone https://github.com/Trust-QR/Trust-QR-Backend.git
python3 -m pip install --user pipx
python3 -m pipx ensurepath
To install Brownie using pipx
:
pipx install eth-brownie
To install via pip
:
pip install eth-brownie
For more info Brownie
To install FastAPI, open a terminal and run the following command :
pip install fastapi
For more info FastApi
Once you have installed Brownie
and FastAPI
you can start the backend by running the following command :
brownie run scripts/server.py
Run your Frontend :
npm run dev
Open http://localhost:3000 with your browser to see the result.
Leave a Reply