aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/README.md
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2019-01-12 00:14:12 +0800
committerFabio Berger <me@fabioberger.com>2019-01-12 00:14:12 +0800
commit98579300c1f78d8c360fa960cc73ffacb1012e91 (patch)
treeab29e15e580820ad76dafa088926bec9998bb51c /packages/pipeline/README.md
parent6fb2721294f5d25edb76cb6f9b34eb3e07212950 (diff)
parent2cf57a48dd2857dd5cf2f31f4c60dd47ae4d34a5 (diff)
downloaddexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.gz
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.bz2
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.lz
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.xz
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.zst
dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.zip
merge development
Diffstat (limited to 'packages/pipeline/README.md')
-rw-r--r--packages/pipeline/README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/packages/pipeline/README.md b/packages/pipeline/README.md
index 40a64cdd1..4fc8e0ff9 100644
--- a/packages/pipeline/README.md
+++ b/packages/pipeline/README.md
@@ -164,20 +164,21 @@ set the`ZEROEX_DATA_PIPELINE_DB_URL` environment variable to a valid
#### Additional guidelines and tips:
-* Table names should be plural and separated by underscores (e.g.,
+- Table names should be plural and separated by underscores (e.g.,
`exchange_fill_events`).
-* Any table which contains data which comes directly from a third-party source
+- Any table which contains data which comes directly from a third-party source
should be namespaced in the `raw` PostgreSQL schema.
-* Column names in the database should be separated by underscores (e.g.,
+- Column names in the database should be separated by underscores (e.g.,
`maker_asset_type`).
-* Field names in entity classes (like any other fields in TypeScript) should
+- Field names in entity classes (like any other fields in TypeScript) should
be camel-cased (e.g., `makerAssetType`).
-* All timestamps should be stored as milliseconds since the Unix Epoch.
-* Use the `BigNumber` type for TypeScript code which deals with 256-bit
+- All timestamps should be stored as milliseconds since the Unix Epoch.
+- Use the `BigNumber` type for TypeScript code which deals with 256-bit
numbers from smart contracts or for any case where we are dealing with large
floating point numbers.
-* [TypeORM documentation](http://typeorm.io/#/) is pretty robust and can be a
+- [TypeORM documentation](http://typeorm.io/#/) is pretty robust and can be a
helpful resource.
+
* Scripts/parsers should perform minimum data transformation/normalization.
The idea here is to have a raw data feed that will be cleaned up and
synthesized in a separate step.