Easily manage Firebase user roles through a sleek, modern dashboard. Perfect for developers who want to handle user permissions without touching code.
Ever struggled with managing Firebase user roles? This tool makes it a breeze! With our intuitive dashboard, you can assign admin and moderator roles to your users with just a few clicks.
- Beautiful dark mode interface for those late-night coding sessions
- Real-time user stats at your fingertips
- Super simple role management - just point and click
- Secure and reliable - built on Firebase Admin SDK
- Fast and responsive - because nobody likes waiting
Got 5 minutes? Let's get you up and running!
Make sure you've got these installed:
- Node.js - the newer the better!
- npm (comes with Node.js)
- A Firebase project with Authentication turned on
# Clone this bad boy
git clone https://github.com/ShashiLab/firebase-role-manager.git
# Jump into the project
cd firebase-role-manager
# Install the goodies
npm install
- Head over to your Firebase Console
- Pick your project
- Find Project Settings > Service Accounts
- Click that "Generate New Private Key" button
- Save it as
serviceAccountKey.json
in your project folder
π¨ Keep this key secret! Add it to your
.gitignore
to avoid accidentally sharing it.
# Start the magic
npm start
# Look at it go at http://localhost:3000
your-awesome-project/
βββ public/ # The pretty stuff
βββ server.js # The brain
βββ serviceAccountKey.json # Your secret key (you'll create this)
# To stop: Just hit Ctrl+C
# To start again:
npm start
# Want a different port?
PORT=4000 npm start
Don't worry, we've got your back! Here are some common hiccups:
- Double-check that
serviceAccountKey.json
is in the right spot - Make sure your key has the right permissions
- Check if the JSON is valid (no extra spaces or missing quotes!)
Someone's already using port 3000. Either:
- Stop what's using it
- Use a different port (see above)
- Always keep your
serviceAccountKey.json
private - Back up your key somewhere safe
- Consider adding extra security in production
- Keep an eye on those user roles!
Awesome! We love contributions! Here's how:
- Fork it
- Create your feature branch
- Make your changes
- Send a pull request
MIT License - do pretty much whatever you want with it!
- Create an issue - we'll look into it
- Star the repo if you like it!
- Share it with others who might find it useful
Made with β€οΈ by ShashiLab, for developers. Happy coding!
#firebase #nodejs #webdev #opensource #javascript