POC that features a room booking system.
A REST API is provided that queries the Smart Contract and
generates the allowed transactions.
At this point in time, the POC is limited to booking creations over the pre-allocated hotels and rooms. It is also restricted to a single user, since addresses are not handled on the basic version.
On the future, it may support:
- Multi-user booking support (using addresses)
- Hotel management
- Room management
- Smart Contract unit testing
- Ethereum private blockchain network.
- Solidity as the Smart Contract implementation language.
- Web3Js connectors.
- ExpressJS REST API.
All the provided scripts are implemented using NodeJS.
- compile.js: Script that compiles the Smart Contract.
- deploy.js: Script that compiles and then deploys the Smart Contract on the private Ethereum blockchain network.
- execute.js: Script that initializes preconfigured data
on the deployed Smart Contract and then queries it.
- NOTE: This script uses a lot of scripts from the scripts folder which abstract the Web3Js API.