4 ms·
If you use Mongo, you could easily use just `@ladjs/api` package from the Lad framework https://lad.js.org https://lad.js.org. Deploying is simple, and you don
by niftylettuce 6y ago
If you use Mongo, you could easily use just `@ladjs/api` package from the Lad framework https://lad.js.org https://lad.js.org. Deploying is simple, and you don't have vendor lock-in.
This is a simple example of a `GET /v1/account` API request controller: https://github.com/ladjs/lad.sh/blob/4d0a5b5ff822d07e855bbe164ab03fdbb33d2e89/app/controllers/api/v1/users.js#L30-L34 https://github.com/ladjs/lad.sh/blob/4d0a5b5ff822d07e855bbe1...
If you use SQL, you can submit a PR with `knex` and `bookshelf` option and I would gladly accept it.