@lcf.vs/generics-tests

0.6.1 • Public • Published

@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

./migrations/{name}.js

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

./lib/entities/entities.js

8# Add your tests

Example

./tests/test.js

9# Test it

npm test

License

MIT

Package Sidebar

Install

npm i @lcf.vs/generics-tests

Weekly Downloads

23

Version

0.6.1

License

MIT

Unpacked Size

37.1 kB

Total Files

42

Last publish

Collaborators

  • lcf.vs