0.0.39 • Published 5 months ago

joint-kit v0.0.39

Weekly downloads
1
License
MIT
Repository
github
Last release
5 months ago

Joint Kit

A server-side toolset for building authorized data layers and RESTful endpoints with NodeJS.

Joint Kit solutions are configuration-driven. Use a JSON-based syntax to rapidly implement operation logic on top of your data schema.

Designed to be flexible. Mix it with existing code (programmatically) -or- use it to dynamically generate an entire server-side method library and RESTful API router with minimal programming.

WIP

Not ready for public use until version 0.1.0 - Syntax and logic are in frequent flux.

Table of Contents

Prerequisites

To use the Joint Kit, you need:

  • a supported persistence solution (e.g. Postgres)
  • a configured data schema (e.g. database & tables)
  • a supported service interface / ORM

The Joint Kit currently supports:

ServiceRequired PluginsPersistence Options
Bookshelfregistry, paginationPostgres, MySQL, SQLite3

---

If you want to generate a RESTful API, you need:

  • a supported server framework

The Joint Kit currently supports:

ServerRequired Middleware
Expressbody-parser, cookie-parser

How to Use

Install

$ yarn add joint-kit

TBC

For Developers

Dev Lint

The app uses ESLint for source code linting (specifically, the standard style). The linting will run automatically on git commit.

$ yarn lint

You can run with flag --fix, or shortcut command flint, to trigger auto fixing (e.g. yarn flint).

Dev Test

The app uses Mocha for the unit testing framework, and Chai for its assertions.

Run Unit Tests

$ yarn test:unit

Run Functional Tests

$ yarn test:functional

Run All Tests (Unit + Functional)

$ yarn test

License

MIT

0.0.39

5 months ago

0.0.35

8 months ago

0.0.36

8 months ago

0.0.37

8 months ago

0.0.38

8 months ago

0.0.34

8 months ago

0.0.33

1 year ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.26

3 years ago

0.0.25

5 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago