npm install
To start using this project you would have to open a local blockchain network using Ganache. You can download it from here.
npm run ganache
This will start a local blockchain network on your machine. You can then deploy the smart contracts to the network using the following command.
npm run migrate
Then, you can start the server using the following command.
npm run dev
This project uses truffle for testing. You can run the tests using the following command.
npm run test
This project uses Typescript. You can compile the Typescript files to Javascript using the following command.
npm run postinstall
or you can use the following commands to generate the types for the smart-contracts
npm run generate-types