I need to create a sample DApp from scratch within a private blockchain using Geth. Can anyone post links of sample apps which have been made in such a way for reference.
Most of the work required to build a Dapp for the Ethereum mainnet and a private Ethereum chain is identical. In fact, if you've been deploying your Smart Contracts to a private testnet (for testing before deploying) it's the same.
Really the only thing that might needs to change is the configurations pointing to how to instantiate the web3 provider, but if your Dapp is running a local, private Ethereum node then the code doesn't need to change at all; just the way that the Geth instance on the box is started.
Here are some links that you might find useful:
- http://truffleframework.com/boxes/ - lots of sample Dapps
- http://truffleframework.com/docs/advanced/configuration#networks - configurations for deploying to other networks with Truffle
Here are some sample references :-