Showing
- config/parse/view_pessoas_cadunico.yaml 79 additions, 0 deletionsconfig/parse/view_pessoas_cadunico.yaml
- config/parse/view_pnad.yaml 86 additions, 0 deletionsconfig/parse/view_pnad.yaml
- config/parse/view_prouni.yaml 19 additions, 0 deletionsconfig/parse/view_prouni.yaml
- config/parse/view_turma.yaml 93 additions, 0 deletionsconfig/parse/view_turma.yaml
- docker-compose.yml 39 additions, 0 deletionsdocker-compose.yml
- nodemon.json 0 additions, 5 deletionsnodemon.json
- package-lock.json 5469 additions, 0 deletionspackage-lock.json
- package.json 52 additions, 23 deletionspackage.json
- scripts/loadTest.ts 46 additions, 0 deletionsscripts/loadTest.ts
- scripts/schema.ts 42 additions, 14 deletionsscripts/schema.ts
- scripts/service.sh 70 additions, 0 deletionsscripts/service.sh
- specs/blendb-api-v1.raml 48 additions, 2 deletionsspecs/blendb-api-v1.raml
- src/adapter/monet.ts 200 additions, 0 deletionssrc/adapter/monet.ts
- src/adapter/postgres.spec.ts 236 additions, 336 deletionssrc/adapter/postgres.spec.ts
- src/adapter/postgres.ts 72 additions, 792 deletionssrc/adapter/postgres.ts
- src/adapter/sql.ts 517 additions, 0 deletionssrc/adapter/sql.ts
- src/api/controllers/collect.spec.ts 312 additions, 10 deletionssrc/api/controllers/collect.spec.ts
- src/api/controllers/collect.ts 194 additions, 6 deletionssrc/api/controllers/collect.ts
- src/api/controllers/data.spec.ts 217 additions, 15 deletionssrc/api/controllers/data.spec.ts
- src/api/controllers/data.ts 106 additions, 20 deletionssrc/api/controllers/data.ts
config/parse/view_pessoas_cadunico.yaml
0 → 100644
config/parse/view_pnad.yaml
0 → 100644
config/parse/view_prouni.yaml
0 → 100644
config/parse/view_turma.yaml
0 → 100644
docker-compose.yml
0 → 100644
nodemon.json
deleted
100644 → 0
package-lock.json
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
... | ... | @@ -4,12 +4,33 @@ |
"description": "BlenDB", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "node index", | ||
"start": "env $(cat config/config.env ) node index", | ||
"lint": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts", | ||
"test": "ts-node node_modules/istanbul/lib/cli.js cover -x \"**/*.spec.ts\" -e .ts _mocha", | ||
"test": "env $(cat config/test.env) ts-node node_modules/nyc/bin/nyc.js mocha", | ||
"show-coverage": "xdg-open coverage/lcov-report/index.html", | ||
"doc-api": "raml2html -i specs/blendb-api-v1.raml -o doc/api-v1-reference.html", | ||
"database": "ts-node database/config.ts database" | ||
"schema": "env $(cat config/config.env ) ts-node scripts/schema.ts config/config.yaml schema.sql", | ||
"service": "./scripts/service.sh", | ||
"test-mode": "ts-node scripts/loadTest.ts && node index", | ||
"doc-code": "typedoc --mode 'file' --module 'commonjs' --target 'ES6' --ignoreCompilerErrors --exclude '**/*.spec.ts' --out 'doc/code' 'src'" | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"extension": [ | ||
".ts" | ||
], | ||
"require": [ | ||
"ts-node/register" | ||
], | ||
"reporter": [ | ||
"text-summary", | ||
"text", | ||
"lcov" | ||
], | ||
"sourceMap": true, | ||
"instrument": true | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -18,28 +39,36 @@ |
"author": "Centro de Computação Científica e Software Livre (C3SL)", | ||
"license": "GPL-3.0", | ||
"dependencies": { | ||
"@types/async": "^2.0.40", | ||
"@types/chai": "^3.4.33", | ||
"@types/express": "^4.0.33", | ||
"@types/js-yaml": "^3.5.29", | ||
"@types/pg": "^6.1.38", | ||
"async": "=2.4.1", | ||
"express": "^4.0.33", | ||
"js-yaml": "^3.8.2", | ||
"@types/async": "^3.0.1", | ||
"@types/chai": "^4.2.0", | ||
"@types/express": "^4.17.1", | ||
"@types/js-yaml": "^3.12.1", | ||
"@types/pg": "^7.11.0", | ||
"async": "^3.1.0", | ||
"express": "^4.17.1", | ||
"js-yaml": "^3.13.1", | ||
"json-2-csv": "^3.5.6", | ||
"log4js": "^5.1.0", | ||
"monetdb": "^1.1.4", | ||
"osprey": "^0.3.2", | ||
"pg": "^6.1.5", | ||
"ts-node": "^3.1.0", | ||
"typescript": "^2.4.1" | ||
"pg": "^7.12.1", | ||
"raml-parser": "^0.8.18" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.32", | ||
"@types/supertest": "^2.0.0", | ||
"chai": "^3.4.33", | ||
"istanbul": "1.1.0-alpha.1", | ||
"mocha": "^3.1.0", | ||
"raml2html": "^3.0.1", | ||
"supertest": "^3.0.0", | ||
"tslint": "^3.15.1", | ||
"tslint-stylish": "^2.1.0-beta" | ||
"@types/mocha": "^5.2.7", | ||
"@types/supertest": "^2.0.8", | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1", | ||
"raml2html": "^7.4.0", | ||
"supertest": "^4.0.2", | ||
"ts-node": "^8.10.2", | ||
"tslint": "^5.19.0", | ||
"tslint-stylish": "^2.1.0", | ||
"typedoc": "^0.15.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
"engines": { | ||
"node": "^10.16.3" | ||
} | ||
} |
scripts/loadTest.ts
0 → 100644
scripts/service.sh
0 → 100755
src/adapter/monet.ts
0 → 100644
src/adapter/sql.ts
0 → 100644