Skip to content

DansMatee/Intranet

Repository files navigation

Intranet

An intranet built for a small company to display department specific dashboards for easy viewing of information.

Languages

Main functionality is developed with Flask (Python), utilising Flasks render template to serve the frontend. Database connectivity is developed with flask-mysqldb and pure SQL. Styling was done with tailwindcss, with responsiveness in mind.

Functions

User Features

  • Quick links section that allows department users to create hotlinks that need to be stickied.
  • Notices section that allows department users to create 'posts' to keep other users up to date.
  • Job Attention section that allows department users to create 'jobs' with varying levels of urgency to draw attention to required jobs.
  • Overview section that provides a pie chart breakdown of the current job attention jobs, and a list of department users, displaying department admins with a dedicated icon.

Admin Features

  • Admin panel with all actions like creating, editing and archiving anything in department sections logged to a sortable table.
  • List of users that have been created and are pending activation, for review and activation from admins.
  • List of current users for user management, changing the users department, and setting the user to a department admin.

Technical Features

  • Passwords securely stored in a hashed and salted format, using werkzeug.

Running locally

  1. Clone the repository into a folder.
  2. Create a virtual env with python python -m venv .venv
  3. Activate the virtual env .venv\Scripts\Activate
  4. Install the required packages pip install -r requirements.txt
  5. Configure database connection in init.py and execute the database.sql file in a database viewer
  6. Run flask flask --app __init__ run
  7. Navigate to http://localhost:5000/

Screenshots

  • Department Dashboard
    image

  • Adding a new link to Quick Links
    image

  • Job Attention Board Item
    image

  • Adding a new job to the Attention Board
    image

  • Notice Board Item
    image

  • Department Overview
    image

  • Admin Panel Dashboard
    image

  • Log Item
    image

  • Activate Account Item
    image

  • Manage Account Item
    image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors