Blockchain Service created using Nestjs and connects to the blockchain of a locally running Ganache Ethereum node using the web3.js library. Additionally, images intended for storage are stored here in a decentralized manner using the IPFS (InterPlanetary File System) protocol without any fees, and it integrates with the blockchain service.
Node.js version 18 or higher, 18 is recommended. Docker Desktop or Docker Engine
This command installs project dependencicies
npm installTo run this project, make sure Docker is running and execute the docker-compose command. This command will download and install the necessary images such as ganache, ipfs-kubo, mysql
docker compose up
Run the blockchain service using the following command
npm run start:devThis project is tested using Jest. You can run the tests using the following command.
# unit tests
$ npm run test