This project is a website that simulates transaction management in distributed database systems that support concurrent multi-user access, which is used as a major course output for a database systems class.
Execution of functions were done asynchronously with promises.
Model Files | Description |
---|---|
db.js |
Handles query concurrency (supposedly) and failover |
nodes.js |
Connects to nodes, executes queries for specific nodes |
transaction.js |
Starts transactions |
logs.js |
Connects to log table, retrieves and updates log table rows |
sync.js |
Iterates through unreplicated rows and updates nodes |
replicator.js |
Handles when data replication occurs |
- Extract the folder from the zipped file that you can download through this DownGit link.
- Naviate to the project folder (using the cd command) (i.e. the main folder containing the file app.js)
- Run the command in order to install all the modules needed in order to run the project successfully:
npm install
- We may now run the server by typing
node app.js
- Since the web application is running on localhost:3000, type
http://localhost:3000
on your browser of choice. - Now, you would be able to see and use the application!
The deployed web application can be access through link.
- Sophia Louisse L. Eguaras
[email protected] - Andrea Jean Marcelo
[email protected] - Francheska Josefa Vicente
[email protected] - Sophia Danielle S. Vista
[email protected]