Start by installing Truffle and Ganache CLI:
$ npm install -g truffle
$ npm install -g ganache-cli
Next run ganache-cli:
$ ganache-cli
Compile and migrate the contract using:
$ truffle compile
$ truffle migrate
Install Metamask extension and connect to local network using custom RPC http://localhost:8545
Navigate inside the frontend
project and run:
$ npm install
Navigate inside the frontend/node_modules
folder and create a symbolic link to the ../../build/contracts
folder:
ln -s ../../build/contracts contracts
Next, start the application:
$ npm start
Go to http://localhost:3000
with your browser.