by moonboy

Internal tool (web app) with Google sign in and team management

Test this app for free
69
import logging
from gunicorn.app.base import BaseApplication
from app_init import create_initialized_flask_app

# Flask app creation should be done by create_initialized_flask_app to avoid circular dependency problems.
app = create_initialized_flask_app()

# Setup logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

class StandaloneApplication(BaseApplication):
    def __init__(self, app, options=None):
        self.application = app
        self.options = options or {}
        super().__init__()

    def load_config(self):
        # Apply configuration to Gunicorn
        for key, value in self.options.items():
            if key in self.cfg.settings and value is not None:
                self.cfg.set(key.lower(), value)

    def load(self):
Get full code

Created: | Last Updated:

This is a great starting point to build a beatiful internal app. The template has login with Google and magic link and team management features along with a nice look. The team management features are designed for internal tools so if a user is not on the allow list they will be rejected to enter the tool. Use this for cases where the final app will be used by a single internal team.

Internal Tool Template with Google Sign-in and Team Management

This template provides a ready-to-use internal tool with Google authentication and team management features. It's perfect for creating internal dashboards and tools where access needs to be restricted to specific team members.

Getting Started

  • Click "Start with this Template" to begin using this template in the Lazy Builder interface

Test the Application

  • Click the "Test" button in the Lazy Builder interface
  • The application will deploy and provide you with a server link to access your internal tool

Using the Application

The internal tool comes with several built-in features:

  • Google Sign-in Authentication: Users will be prompted to sign in with their Google account
  • Team Management Dashboard: Access the team management page by clicking "Team" in the sidebar
  • Admin Controls:
  • Add individual admin users by email
  • Allow entire email domains (e.g., "company.com")
  • Block/unblock specific admin users
  • View last login times for all users
  • Delete admin access

The main dashboard (home page) is currently a placeholder that you can customize for your specific internal tool needs.

Managing Team Access

To manage who can access your internal tool:

  1. Sign in as the first admin
  2. Navigate to the Team page using the sidebar
  3. Add access in one of two ways:
  4. Click "Add New Admin" to grant access to individual email addresses
  5. Click "Add New Domain" to allow anyone with a specific email domain

Blocking and Unblocking Users

To manage user access:

  • Click the "Block" button next to any user to prevent their access
  • Click "Unblock" to restore access for blocked users
  • Click "Delete" to completely remove admin access

The template provides a clean, responsive interface that works well on both desktop and mobile devices. The sidebar can be collapsed for more screen space, and all management functions are accessible through an intuitive interface.



Template Benefits

  1. Secure Internal Access Control
    Provides enterprise-grade authentication through Google Sign-In and granular access management, allowing organizations to strictly control who can access internal tools based on email domains or individual permissions.

  2. Rapid Internal Tool Development
    Accelerates the development of company-specific web applications by providing a pre-built foundation with authentication, user management, and responsive UI components - reducing development time from weeks to days.

  3. Team Management Efficiency
    Offers comprehensive team administration features including the ability to add/remove admins, block users, and manage domain-wide access - making it ideal for IT administrators to maintain organizational security and compliance.

  4. Professional User Experience
    Delivers a polished, modern interface with responsive design, dark/light theme support, and mobile optimization - ensuring a consistent and professional experience across all devices for internal staff.

  5. Flexible Integration Foundation
    Serves as a robust starting point for building custom internal applications, with a modular structure that makes it easy to add new features and integrate with existing business systems and workflows.

Technologies

Maximize Productivity in Google Workspace with Lazy AI: Automate Emails, Reports and More Maximize Productivity in Google Workspace with Lazy AI: Automate Emails, Reports and More
Streamline CSS Development with Lazy AI: Automate Styling, Optimize Workflows and More Streamline CSS Development with Lazy AI: Automate Styling, Optimize Workflows and More
Optimize Your Django Web Development with CMS and Web App Optimize Your Django Web Development with CMS and Web App
Flask Templates from Lazy AI – Boost Web App Development with Bootstrap, HTML, and Free Python Flask Flask Templates from Lazy AI – Boost Web App Development with Bootstrap, HTML, and Free Python Flask
Enhance HTML Development with Lazy AI: Automate Templates, Optimize Workflows and More Enhance HTML Development with Lazy AI: Automate Templates, Optimize Workflows and More
Streamlit Templates for Dashboards, Apps, Design and UI Streamlit Templates for Dashboards, Apps, Design and UI
Streamline JavaScript Workflows with Lazy AI: Automate Development, Debugging, API Integration and More  Streamline JavaScript Workflows with Lazy AI: Automate Development, Debugging, API Integration and More
Optimize Google Sheets with Lazy AI: Automate Data Analysis, Reporting and More Optimize Google Sheets with Lazy AI: Automate Data Analysis, Reporting and More
Python App Templates for Scraping, Machine Learning, Data Science and More Python App Templates for Scraping, Machine Learning, Data Science and More
Optimize SQL Workflows with Lazy AI: Automate Queries, Reports, Database Management and More Optimize SQL Workflows with Lazy AI: Automate Queries, Reports, Database Management and More

Similar templates

We found some blogs you might like...