FYI: I've put together a collection of blockchains (in JavaScript, Python, Ruby) and articles at Awesome Blockchains - https://github.com/openblockchains/awesome-blockchains . The idea is that to learn about blockchains build one (or two) from scratch. Not a crypto god? Or a JavaScript ninja/rockstar. No worries. Yes, you can. Happy blockchaining.
This is great, however the real strength of blockchain lies in it being a distributed database. These are all single node examples. Would love to see some examples of a simple network based blockchain
Add your single node example onto git than it's distributed :-). For rolling your own peer-to-peer network and nodes see the starter articles linked in the Awesome Blockchains page that include examples in JavaScript, Go, etc. Happy blockchaining.
It is spiritually based on your single node examples which I encountered earlier last week, so big thanks for that (was just enough to get me started).
Most of the logic resides in models/blockchain.js. You can interact with the node using the HTTP endpoints in routes.js.
Disclaimer: I have no idea what I'm doing, but it seems to work. Would love some feedback.