JStonham / budjen

MIT License
0 stars 0 forks source link

[13] Persist the transaction list between application runs #24

Open JStonham opened 5 years ago

JStonham commented 5 years ago

Java Databases. Java uses the API JDBC to connect to databases. Which database? Relational database - will I have multiple users? Serialise the array to a file?

kinbiko commented 5 years ago

Product design as picture (please post the picture here!).

To do: Write the engineering design:

JStonham commented 5 years ago

product design

JStonham commented 5 years ago

Split into 3 PR:

  1. Unit test and implementation for reading and writing JSON file in separate class (JSON Interpreter) with test class.
  2. Add transaction: Integrate JSON Interpreter into Application processAdd (with Transaction Repository).
  3. Print transactions: Integrate JSON Interpreter into Application. Instead of Transaction Data use Transaction Repository. Delete Transaction Data
JStonham commented 5 years ago

json example

JStonham commented 5 years ago

json interpreter

JStonham commented 5 years ago

add and print transactions