Marketplace has dependencies on multiple technologies.
- Ganache - private Blockchain, to run application localy
-
run
npm install
to install dependencies -
Then migrate a contract to Ganache, contract can be found in the
contracts
folder. It's calledCourseMarketplace.sol
run the commandtruffle compile
-
To migrate the contract run
truffle migrate
in the terminal while Ganache network is setup and running. -
Do not forget to link
trufle-config.js
with Ganache, just go toconfig
and clickAdd Project
- Now everything is setup and you can test out the app.
- Run
npm run dev
in the terminal. App will run atlocalhost:3000