restlize

0.0.1 • Public • Published

Restelize

Project goals

  • Allow declarative description of models.
  • Build OpenAPI spec for easy consumption.
  • Support claim based access control.

Routes

{
    method: 'GET'
    route: '/model/'
    params: {
      q: 'query object',
      limit:
    }
},{
    method: 'GET',
    route: '/model/:id',
    params: {

    }
}

Security

This project does not do user management for you, it assumes that user management can be done via a 3rd party identity provider as a service or you can host your own system creating a role system.

When defining a model you can declare a static property access

{
  access: {
    write: ['admin', 'editor'],
    read: ['anon'],
  }
}

Dependents (0)

Package Sidebar

Install

npm i restlize

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • darkyen00