by moonboy

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

Test this app for free
25
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 or tools where access needs to be restricted to specific team members.

Getting Started

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

Test the Application

  • Click the "Test" button in the Lazy Builder interface
  • Once deployed, you'll receive a server link to access your internal tool

Using the Application

The internal tool provides several key features:

  • Google Authentication: Users can sign in with their Google accounts
  • Team Management: Control who has access to your internal tool through:
  • Individual email allowlist
  • Domain-based access (e.g., allow anyone from @yourcompany.com)
  • Ability to block specific users
  • Track last login times

To manage team access:

  • Navigate to the "Team" section using the sidebar
  • Add allowed email domains to grant access to everyone from specific organizations
  • Add individual admin emails for granular access control
  • Block/unblock specific users as needed
  • View last login times for all users

The dashboard includes:

  • Responsive sidebar navigation
  • Mobile-friendly design
  • User profile information
  • Clean, modern interface using Tailwind CSS and DaisyUI components

Customizing the Interface

The main dashboard (home page) is designed to be customized for your specific use case. You can modify the content in home.html to add:

  • Custom statistics
  • Data visualizations
  • Project information
  • Team updates
  • Any other internal tool functionality

The template provides a solid foundation with:

  • Responsive layout
  • Navigation structure
  • Authentication system
  • Team management
  • Error pages (401, 404, 500)

Simply build upon the existing structure to create your internal tool's specific functionality.



Template Benefits

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

  2. Rapid Internal Tool Development
    Significantly reduces development time for internal applications by providing a pre-built authentication system, user management interface, and responsive design framework - enabling teams to focus on building core functionality rather than infrastructure.

  3. Professional User Experience
    Delivers a polished, modern interface with responsive design, intuitive navigation, and consistent styling across all pages - creating a professional experience that matches enterprise standards without additional design work.

  4. Flexible Team Administration
    Offers comprehensive team management features including domain-level access, individual user control, and blocking capabilities - making it ideal for organizations that need to manage access across departments or subsidiaries.

  5. Cost-Effective Compliance
    Helps organizations maintain compliance with security policies by providing audit trails of user access, login tracking, and centralized user management - reducing the risk and cost associated with unauthorized access to internal tools.

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
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...