Go to file
Junyi cd0b357887
Test/list (#19)
* test: add more case for list

* feat: allow order by associations in sorting

* fix: add more utils test in resourcer and fix except usage

* test: fix cases

* fix: page default value and max page size

* fix: page params and cases

* fix: list params

* fix: constants in list action

* fix: count when include, attributes when except and cases

* test: add case for hasMany.
2020-11-23 16:49:46 +08:00
packages Test/list (#19) 2020-11-23 16:49:46 +08:00
.editorconfig 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.env.example Test cases for database (#16) 2020-11-18 10:35:37 +08:00
.eslintrc 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.fatherrc.ts 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.gitignore 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
docker-compose.yml 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
dotenv.js first commit 2020-10-24 15:34:43 +08:00
jest.config.js 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
lerna.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
nodemon.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
package.json Refactor: change global injection of test for actions package. (#15) 2020-11-16 20:38:56 +08:00
README.md 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
tsconfig.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00

Development

Install Dependencies

# Install dependencies for root project
npm i

# Install dependencies for sub packages via lerna
npm run bootstrap

Set Environment Variables

cp .env.example .env

Test

# For all packages
npm test

# For specific package
npm test packages/<name>