Coder Social home page Coder Social logo

daviidsusanto / dash-user-management Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chris3691/dash-user-management

0.0 0.0 0.0 2.96 MB

A template Plotly Dash app in Python, with basic user management & authentication

License: MIT License

Python 13.93% CSS 86.07%

dash-user-management's Introduction

Dash-User-Management

A template web app built in Plotly Dash for Python, which handles user creation, user authentication/login, user permissions (admin/non admin), and page navigation. This web app is a great starting point for developing a custom cloud based dashboard where the user base is relatively small e.g. accessible by team members or small organisations.

Example of app in action with a demo layout on page 1:

The template uses Dash bootstrap components with the Flatly bootswatch theme - https://bootswatch.com/flatly/

The template has the following views:

  1. login.py - User login page, displayed if a user tries to access any page and is not currently logged in
  2. page1.py - Empty template page for your own Dash layout
  3. page2.py - Another empty template page
  4. profile.py - For users to update their own password
  5. user_admin.py - A page for admin users only, with ability to create new users and view existing users
  6. 404.py - Simple 404 error message to catch requests for non-existent pages

Database Setup

Default database setup is MySQL and the required table can be setup using the table_create_statement in /db.

The database username, password, and database_name need be updated in the con parameter of config.txt to the correct details for your database.

Other databases can be used - refer to SQLAlchemy for required connection statement and update the con parameter of config.txt.

dash-user-management's People

Contributors

chris3691 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.