@lcf.vs/generics-tests
v0.6.1
Published
@lcf.vs/generics tests repository
Downloads
3
Readme
@lcf.vs/generics-tests
@lcf.vs/generics tests repository
Install
git clone https://github.com/Lcfvs/generics-tests
cd generics-tests
npm i --save-dev
Building
1# Create your knex
migrations
Example
2# Run your migrations
npm run latest
3# Describe your table & columns, based on generics W3C parsers
(values must be strings)
Example
./lib/entities/{name}/defs/table.js
4# Create your hooks
Example
./lib/entities/{name}/defs/hooks.js
5# Create your routes
Example
./lib/entities/{name}/defs/routes.js
6# Link them all to an entity module
Example
./lib/entities/{name}/{name}.js
7# Link the entity module to the entities module
Example
8# Add your tests
Example
9# Test it
npm test