1
0 Comments

Pushed a new version to production

Time to share some updates to the https://serverless.page.

Admin Dashboard
When your app is in production and people start to use it, it's nice an admin panel where you can view and edit data of your project. The Firebase console is a great start, but if you want a custom overview of the most important data in your SaaS app you might want to build an admin dashboard for yourself.

This boilerplate now comes with an admin dashboard that you can use to build upon. It comes with a sidebar layout with an overview page, a link to your stripe dashboard, and a page with a list of all the users in your database. This admin panel can be extended with any data that you would like to add.

If you already use the boilerplate and want this new feature in your current project, go to the Github repository and copy/paste the following directories into your project:

  • /pages/admin
  • /components/admin

Next, go to the Admin section in the documentation and follow the remaining steps.

Delete account
Users can now delete their account from the /account/edit page. It will first prompt the user with a confirmation modal and if accepted the user will be removed from Firebase authentication. A Cloud Function called onUserDelete is added that subscribes to that delete event and it will clean up the user data in the Firestore DB. If you have added more user-related data to your project, make sure you extend this function so it will remove those also.

That's it for now.

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 34 comments 🔥Roast my one-man design agency website 18 comments Getting first 908 Paid Signups by Spending $353 ONLY. 16 comments Launch on Product Hunt after 5 months of work! 16 comments Started as a Goodreads alternative, now it's taking a life of its own 12 comments I Sold My AI Startup for $1,500 and I'm Really Happy About It 11 comments