A platform that uses blockchain technology to store the information about vehicles, their insuarace claims
This project requires both Docker and Node/NPM. After installing, download this repo and run the following commands to install dependencies for the transaction processor:
cd {project directory}/processor
npm install
And these commands to install dependencies for and build the client:
cd {project directory}/client
npm install
Use the included docker compose file to spin up some default Sawtooth components, including a validator and a REST API. Full instructions are available in the Sawtooth Documentation, but all you really need to know is, from the project directory, run this command to start Sawtooth up:
docker-compose up
And run this command to shut them down:
docker-compose down
Once running, you should be able to access the validator at
tcp://localhost:4004
and the REST API at http://localhost:8008
.
In a new terminal window, start up the transaction processor:
cd {project directory}/processor
npm start
In a new terminal window, start up the client:
Start the client simply by opening localhost:3000
in any browser.