Moving beyond a single flat file

For more complex projects, a flat-file database may not be the way to go. Here is one example of how you could store data in a more distributed way:

Python implementation:

from pyntree import Node
config = Node('db/config.json')

# On request with argument "transaction_id"
data = Node(f'db/transactions/{transaction_id}')
return data()

Revision #1
Created 4 March 2023 19:24:09 by jvadair
Updated 11 May 2023 20:26:05 by jvadair