0.0.0 • Published 10 years ago
transaction-machine v0.0.0
Transaction Machine
Event-oriented financial transactions processing mechanism for Node.js/PostgreSQL.
Installation
$ npm install transaction-machine --saveSetting up the database
To generate database setup files, from the root directory of your project, call:
$ [node] ./node_modules/transaction-machine/db/generate-setup-files.jsThe above will create db/config.json (with default database configurations)
and basic migration files in the db/migrations directory of your project.
To run these migrations, call:
$ [node] ./node_modules/transaction-machine/db/migrate.js upThe
db/migrate.jsexecutable simply proxies all calls to node-db-migrate just specifying the project-specific configuration. Refer to the node-db-migrate's usage docs to learn more about using thedb/migrate.js.
Running tests
$ make testLicense
MIT © 2016 Dan Kerimdzhanov
0.0.0
10 years ago