models/db.js = Handles query concurrency
models/nodes.js = Connect to nodes and execute queries
models/transaction.js = Start transactions
models/logs.js = Connect to logs table
models/sync.js = Updates nodes
models/replicator.js = Handles data replication
- Navigate to the project folder (containing index.js)
- Run the command in order to install all the modules needed:
npm install
- Run the server by typing
node index.js
- Run the web application with the link
http://localhost:3000
on your browser.