0.0.33 • Published 3 months ago

joint-kit v0.0.33

Weekly downloads
1
License
MIT
Repository
github
Last release
3 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.33

3 months ago

0.0.32

7 months ago

0.0.31

8 months ago

0.0.30

10 months ago

0.0.29

10 months ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.26

2 years ago

0.0.25

4 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

7 years ago

0.0.15

7 years ago