mongoose-restapi-ui-component

React admin panel handling mongoose-restapi-ui tree structure.

Usage no npm install needed!

<script type="module">
  import mongooseRestapiUiComponent from 'https://cdn.skypack.dev/mongoose-restapi-ui-component';
</script>

README

React component for Mongoose API UI

Simplest admin usage! You can control safely your data with an admin panel.

Usage:

import Admin from 'mongoose-restapi-ui-component'


export default (props) => <Admin tree='your/path/to/tree' />

Posible props:

  • tree: (string or tree) The tree path published by mongoose-restapi-ui
  • showAppBar: boolean, shows the appbar
  • width: any, width of admin panel
  • headers: Custom headers (Example: {Authorization: 'Basic token'})
  • theme: Theme from @material-ui/core

Enjoy!