1

Updated readme

This commit is contained in:
2018-05-05 10:09:02 +03:00
parent b51414e177
commit 2ad773bc56

View File

@@ -1,48 +1,6 @@
Ratpack project template
-----------------------------
# Distributed Blockchain Transactions (DBT)
You have just created a basic Groovy Ratpack application. It doesn't do much
at this point, but we have set you up with a standard project structure, a
Guice back Registry, simple home page, and Spock for writing tests (because
you'd be mad not to use it).
This is a framework for working with SQL transactions in a distributed network. The framework allows you to compose SQL
transactions of multiple queries on different nodes and execute them later.
In this project you get:
* A Gradle build file with pre-built Gradle wrapper
* A tiny home page at src/ratpack/templates/index.html (it's a template)
* A routing file at src/ratpack/Ratpack.groovy
* Reloading enabled in build.gradle
* A standard project structure:
<proj>
|
+- src
|
+- ratpack
| |
| +- Ratpack.groovy
| +- ratpack.properties
| +- public // Static assets in here
| |
| +- images
| +- lib
| +- scripts
| +- styles
|
+- main
| |
| +- groovy
|
+- // App classes in here!
|
+- test
|
+- groovy
|
+- // Spock tests in here!
That's it! You can start the basic app with
./gradlew run
but it's up to you to add the bells, whistles, and meat of the application.
To ensure the reliability of the transactions a ledger using blockchain is used to keep track on ongoing transactions.