apiplant-server 0.6.0

apiplant HTTP server: CRUD routing, function endpoints and TLS on ntex
Documentation

apiplant-server

Turns a loaded [App] into a running HTTP service on [ntex]:

  • generic CRUD routes for every resource (<base>/<resource>[/<id>]),
  • built-in auth routes (<base>/auth/...),
  • one route per loaded function (<base>/functions/<name>),
  • lifecycle hooks running functions around each CRUD operation,
  • the admin dashboard, embedded in the binary and served at /admin/ for every app unless [admin] enabled = false,
  • file uploads (<base>/uploads) served back from /files/..., over a directory or an S3-compatible bucket,
  • the app's public/ directory served at the site root, with a 404 page,
  • TLS inferred from the app's https/ directory.