react-firebase-roles-editor

An editor for firebase-roles. Edit roles from the web. Easily integrate this into your own react website.

Usage no npm install needed!

<script type="module">
  import reactFirebaseRolesEditor from 'https://cdn.skypack.dev/react-firebase-roles-editor';
</script>

README

react-firebase-roles-editor

Frontend editor interface to perform CRUD operations on CMS data.

Usage

Ensure Firebase has been initialized before anything else is done.

const RolesScreen = import('firestore-roles-editor');
// ...
// Route to it
// ...
<Route path={ROUTE_ROLE}><RolesScreen/></Route>

Firebase config for test environment:

See FIREBASE_CONFIG_README.md in src/Config.

You add the config file FIREBASE_CONFIG.json at that level.

That config file gets ignored by version control.

See SERVER_CONFIG_README.md in src/Config.

You add the config file SERVER_CONFIG.json at that level.

That config file gets ignored by version control.

For Developer

Remember to npm run build before npm publish.