Skip to content

guilhermecom2s/BlockchainProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This blockchain project was done as part of "Python, JS & React | Build a Blockchain & Cryptocurrency" course by David Joseph Katz, you can check the course at: https://www.udemy.com/course/python-js-react-blockchain/?couponCode=ST21MT121624

image image


Bellow are the commands to use when running the project.

Activate the virtual environment

.\blockchain-env\Scripts\activate

Install all packages

pip3 install -r requirements.txt

Running modules

To run modules use the -m commando and . instead of /, eg.:
python3 -m backend.blockchain.block

TODO

-> create another function that changes the hash based in the given order
-> use the "^" instead of "" to avoid generating same hashs in different values

Run the tests

Make sure to activate the virtual environment.

python -m pytest backend/tests

Run the application and API

Make sure to activate the cirtual environment.

python -m backend.app

Run a peer insntance

Make sure to activate the virtual environment.

set PEER=True
python -m backend.app

Run the frontend

In the frontend directory:

npm run start

Seed the backend with data

Make sure to activate the virtual environment.

set SEED_DATA=True
python -m backend.app

About

Blockchain project created using python, JS and React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors