react-firebase-roles-editor

1.2.2 • Public • Published

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.

Package Sidebar

Install

npm i react-firebase-roles-editor

Weekly Downloads

2

Version

1.2.2

License

Apache-2.0

Unpacked Size

26.3 kB

Total Files

24

Last publish

Collaborators

  • wtesler