Saimple Code to acces contracts in ethereum using web3 in Node
npm install
First time to install all the required libraries.
npm start
To start the application
Need a browser with metamask. Open the browser with the url shown in the console and see the javascript console for the output. You need to change the ABI and Address of the contract you are trying to access in index.twig nested in the views folder.