How to explore Data inside of Blockchain Network in Javascript

In this tutorial, we’re gonna build API that allows us to explore the data inside of our Blockchain Network. We will have ability to search the entire Blockchain for a specific Block by Hash, for a specific Transaction by Id. We can also fetch data from our Blockchain Network for a specific User/Address.

Previous Post: How to build Consensus Algorithm for Blockchain Network in Javascript

[Continue reading…] “How to explore Data inside of Blockchain Network in Javascript”

How to build Consensus Algorithm for Blockchain Network in Javascript

During broadcasting Transactions over our Blockchain network, a certain node may not receive a piece of information, or even there is a bad actor who sent out false information or created fraudulent transactions and broadcasts them to the whole network, convinces everybody that they are legitimate transactions. So, the Consensus Algorithm provides us a way to compare one Node to all the other Nodes inside of the network to confirm that it has the correct data. In this tutorial, we’re gonna create a Consensus Algorithm that implements the Longest Chain rule.

Previous Post: How to Synchronize Blockchain Network in JavaScript

Next Post: How to explore Data inside of Blockchain Network in Javascript

[Continue reading…] “How to build Consensus Algorithm for Blockchain Network in Javascript”

How to Synchronize Blockchain Network in JavaScript

In previous post, we built a Decentralized Blockchain Network that contained some Nodes, each Node was aware of all others. Today we will synchronize this network so that Blockchain in all Nodes are the same every time mining is done.

Previous Post: How to build a Decentralized Blockchain Network in Javascript

Next Post: How to build Consensus Algorithm for Blockchain Network in Javascript

[Continue reading…] “How to Synchronize Blockchain Network in JavaScript”

How to build a Decentralized Blockchain Network in Javascript

In previous post, we have a single Blockchain and the only way to access it is through API from a single server. It is centralized and not good because this API totally controls the whole Blockchain with all data inside it. Today we will build a decentralized Blockchain network that has many different instances of the API. So instead of just having our Blockchain hosted on a single centralized node, it is hosted across a decentralized network which will be very powerful because of the security: we don’t have to trust only one single entity.

Previous Post: How to create Blockchain API in Javascript

Next Post: How to Synchronize Blockchain Network in JavaScript

[Continue reading…] “How to build a Decentralized Blockchain Network in Javascript”

NodeJS – GridFS APIs Upload/Download Files to MongoDB – Mongoose

In the tutorial, we show you how to build a NodeJS web-application that uses stream-based GridFS APIs with Mongoose to upload/download files to MongoDB.

Related posts:
NodeJS – use Mongoose to save Files/Images to MongoDB
Crud RestAPIs with NodeJS/Express, MongoDB using Mongoose

[Continue reading…] “NodeJS – GridFS APIs Upload/Download Files to MongoDB – Mongoose”

NodeJS/Express – Upload Text-Fields + MultipartFile with Multer, Jquery Ajax, Bootstrap 4

In the tutorial, we show how to upload multipart/form-data with text fields and attached file in NodeJS/Express web-application using Multer, JQuery Ajax, Bootstrap 4.

Related posts:
NodeJS/Express – Upload/Download MultipartFiles/Images – Multer + JQuery Ajax + Bootstrap

[Continue reading…] “NodeJS/Express – Upload Text-Fields + MultipartFile with Multer, Jquery Ajax, Bootstrap 4”

NodeJS/Express – Upload/Download MultiparFile to MySQL – Multer + Sequelize + JQuery Ajax + Bootstrap

In the tutorial, we show you how to upload/download MultipartFile to MySQL in NodeJS/Express web-application using Multer middleware, Sequelize ORM, JQuery Ajax & Bootstrap view.

Related posts:
NodeJS/Express – RestAPI to Upload Multipart File to MySQL using Multer + Sequelize ORM
NodeJS/Express – Upload/Download MultipartFiles/Images – Multer + JQuery Ajax + Bootstrap

[Continue reading…] “NodeJS/Express – Upload/Download MultiparFile to MySQL – Multer + Sequelize + JQuery Ajax + Bootstrap”

NodeJS/Express – Upload/Download MultipartFiles/Images – Multer + JQuery Ajax + Bootstrap

In the tutorial, we show how to build a NodeJS/Express web-application to upload MultipartFile-s/Images by Multer middleware, JQuery Ajax and Bootstrap view.

Related posts:
Multer – Build RestAPI to upload a MultipartFile to NodeJS/Express
Integrate NodeJS/Express – JQuery Ajax POST/GET – Bootstrap view example
NodeJS/Express – Upload Text-Fields + MultipartFile with Multer, Jquery Ajax, Bootstrap 4

[Continue reading…] “NodeJS/Express – Upload/Download MultipartFiles/Images – Multer + JQuery Ajax + Bootstrap”

NodeJS/Express – RestAPI to Upload Multipart File to MySQL using Multer + Sequelize ORM

In the tutorial, we show how to build a NodeJS/Express RestAPI to upload Multipart Files/Images to MySQL using Multer middleware and Sequelize ORM.

Related posts:
NodeJS – Save File/Image to MySQL by Sequelize with BLOB type
Multer – Build RestAPI to upload a MultipartFile to NodeJS/Express

[Continue reading…] “NodeJS/Express – RestAPI to Upload Multipart File to MySQL using Multer + Sequelize ORM”

Multer – Build RestAPI to upload a MultipartFile to NodeJS/Express

In the tutorial, we show how to use Multer middleware for building a RestAPI to upload MultipartFile to NodeJS/Express web-application.

Related posts:
NodeJs/Express RestAPIs – POST/GET/PUT/DELETE requests

[Continue reading…] “Multer – Build RestAPI to upload a MultipartFile to NodeJS/Express”

Bootstrap 4 Card Images – NodeJS/Express RestAPIs

In the tutorial, we will show you how to use new feature Bootstrap 4 Card Images to create cards with images from NodeJS/Express RestAPIs.

Related posts:
NodeJS/Express – Bootstrap Image example

[Continue reading…] “Bootstrap 4 Card Images – NodeJS/Express RestAPIs”

NodeJS/Express + Bootstrap Filter List + JQuery example

In the tutorial, we show how to implement Bootstrap Filter List with JQuery and NodeJS/Express RestAPIs.

Related posts:
NodeJs/Express RestAPIs – POST/GET/PUT/DELETE requests
NodeJS/Express + Bootstrap Filter Table + JQuery

[Continue reading…] “NodeJS/Express + Bootstrap Filter List + JQuery example”

NodeJS/Express + Bootstrap Filter Table + JQuery example

In the tutorial, we show how to implement Bootstrap Filter Table with JQuery and NodeJS/Express RestAPIs.

Related posts:
NodeJs/Express RestAPIs – POST/GET/PUT/DELETE requests
NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery

[Continue reading…] “NodeJS/Express + Bootstrap Filter Table + JQuery example”

NodeJS/Express Rest APIs + Bootstrap Table + AngularJS example

In the tutorial, we show how to use Bootstrap Table & AngularJS to display data from NodeJS/Express RestAPIs.

Related posts:
NodeJs/Express RestAPIs – POST/GET/PUT/DELETE requests
NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form

[Continue reading…] “NodeJS/Express Rest APIs + Bootstrap Table + AngularJS example”

NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery example

In the tutorial, we show how to use Bootstrap Table & Ajax JQuery to show data from NodeJS/Express RestAPIs.

Related posts:
Integrate NodeJS/Express – JQuery Ajax POST/GET – Bootstrap view
NodeJs/Express RestAPIs – POST/GET/PUT/DELETE requests

[Continue reading…] “NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery example”

NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form example

In the tutorial, we show how to POST/GET form data to/from MySQL in NodeJS/Express application using Sequelize with AngularJS & Bootstrap view.

Related posts:
NodeJS/Express – POST/GET form data to MySQL using Sequelize ORM – Ajax JQuery + Bootstrap view

[Continue reading…] “NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form example”

NodeJS/Express – POST/GET to MongoDB using Mongoose – AngularJS + Bootstrap form example

In the tutorial, we show how to POST/GET form data to/from MongoDB in NodeJS/Express application using Mongoose with AngularJS & Bootstrap view.

Related posts:
NodeJS/Express – POST/GET data to/from MongoDB using Mongoose – Ajax JQuery + Bootstrap form
Mongoose Many-to-Many related models with NodeJS/Express, MongoDB

[Continue reading…] “NodeJS/Express – POST/GET to MongoDB using Mongoose – AngularJS + Bootstrap form example”

NodeJS/Express – POST/GET data to/from MongoDB using Mongoose – Ajax JQuery + Bootstrap form example

In the tutorial, we show how to POST/GET form data to/from MongoDB in NodeJS/Express application using Mongoose with Ajax JQuery & Bootstrap view.

Related posts:
Crud RestAPIs with NodeJS/Express, MongoDB using Mongoose
Integrate NodeJS/Express – JQuery Ajax POST/GET – Bootstrap view

[Continue reading…] “NodeJS/Express – POST/GET data to/from MongoDB using Mongoose – Ajax JQuery + Bootstrap form example”

NodeJS/Express – POST/GET form data to MySQL using Sequelize ORM – Ajax JQuery + Bootstrap view example

In the tutorial, we show how to save form data to MySQL in NodeJS/Express application using Sequelize ORM with Ajax JQuery & Bootstrap view.

Related posts:
Sequelize ORM – Build CRUD RestAPIs with NodeJs/Express, Sequelize, MySQL
Integrate NodeJS/Express – JQuery Ajax POST/GET – Bootstrap view

[Continue reading…] “NodeJS/Express – POST/GET form data to MySQL using Sequelize ORM – Ajax JQuery + Bootstrap view example”