Team Management SystemA MERN team management system with three-tier role-based access

A case study in building role-scoped collaboration on React, Redux Toolkit, Express and MongoDB: a Kanban board, multi-member task assignment, approval-based onboarding and analytics for each role.

Category
Full Stack
Industry
Productivity and project management
Platform
Web dashboard
Status
Private project
  • 3roles, checked on the server
  • 4task priority levels
  • JWT + Bcryptauthentication
  • Kanbanwith customizable statuses
Team Management System
Team Management dashboard with summary cards for team members, reports, pending reviews, completed tasks, pending tasks and active projects, above a bar chart of reports per member and a pie chart of report status
Overview

Team Management System: one MERN app to plan and track team work

Team Management System is a MERN application I built to give a team one place to plan, assign and track work, with each person's view decided by their role.

It pairs a React and Redux Toolkit front end with an Express and MongoDB API secured by JWT and Bcrypt. Admins, Managers and Team Members each get their own dashboard and their own allowed actions, checked on the server. The aim was that a member can move their own tasks along without being able to delete a project, and a manager can run a team without touching organisation-wide settings.

Work happens on a Kanban board whose columns a team sets itself, new members join through a request and approval flow, and the dashboards turn the same tasks into completion rates, workload distribution and Chart.js progress charts.

Role
Full-stack developer
Industry
Productivity and project management
Audience
Teams with admins, managers and members
Platform
Web dashboard
Type
Full-stack web application
Category
Full Stack
Stack
React (Vite), Redux Toolkit, Material UI, Axios
Status
Private project
The challenge

Team work lost in chat threads and shared spreadsheets

Small teams often run their work out of a chat thread and a shared spreadsheet, and neither one keeps track of who is doing what, or by when.

Tasks get assigned in messages that scroll out of sight, deadlines live in somebody's head, and nobody can tell at a glance who is overloaded. The manager ends up chasing status updates a tool should already show.

Moving everything onto one shared board fixes the visibility, then raises a second question: who may change what. A team member should move their own tasks along without being able to delete a project, and a manager should run a team without touching organisation-wide settings. I wanted permissions to shape the design from the first screen, instead of being added once the screens were built.

How things worked before Team Management System, compared with Team Management System
Before Team Management SystemWith Team Management System
Tasks assigned in chat messages that scroll awayA shared Kanban board with customizable statuses
Deadlines kept in somebody's headA due date on every task, with automated reminders
No way to see who is overloadedWorkload distribution and completion rates per role
Anyone with the sheet can change anythingThree roles, with every action checked on the server

The brief I set myself

  • Roles firstPermissions shape the design from the first screen.
  • One boardEvery task in one place, in columns the team chooses.
  • Server decidesThe API refuses whatever a role may not do.
  • Closed doorNo access to the board until a request is approved.
My role

My role: building the Team Management System across the MERN stack

I worked across the whole stack, from the React front end to the Express API and the Mongoose schemas, along with the permission model that ties them together.

On the front end that meant React built with Vite, Redux Toolkit for shared state and Material UI for components. On the back end it meant an Express and Node.js API with Mongoose schemas over MongoDB, plus the authentication and permission model. Much of the design work was deciding, for every screen and endpoint, which roles it belonged to and what each could do there.

Scope of work on Team Management System
Front endReact with Vite, Redux Toolkit for board state, Material UI and Axios.
APIExpress and Node.js routes behind role-checking middleware.
DataMongoose schemas for users, projects and tasks, with priority validated in the schema and statuses stored as editable data.
SecurityJWT authentication, Bcrypt password hashing and secure API endpoints for every protected action.
AnalyticsRole-specific dashboards with completion rates, workload distribution, Chart.js progress charts and exportable reports.
How it works

How a task moves through the Team Management System

Every task follows the same path: a member is approved onto the team, work is created and assigned, it moves across the board, and the dashboards report on it.

  1. Step 1

    Request to join

    A new member asks to join the team. The account has no access until the request is approved, and only then does its role take effect.

    Roles
    AdminManagerTeam Member
  2. Step 2

    Create and assign a task

    A task references its project, carries a priority and a due date, and can be assigned to more than one member at once.

    Priority
    LowMediumHighUrgent
    Assignees
    One or many
  3. Step 3

    Move it across the board

    The task moves through Kanban columns the team defined itself, and automated reminders go out before its deadline passes.

    Columns
    Customizable statuses
    Deadlines
    Automated reminders
  4. Step 4

    Read the dashboards

    Each role sees analytics scoped to what it may see: a member's charts come from their own tasks, and a manager's from the projects they run.

    Metrics
    Completion ratesWorkload distribution
    Output
    Chart.js chartsExportable reports
Key features

Team Management System features: Kanban, roles and analytics

Every feature is shaped by the three roles, starting with a Kanban board whose columns each team sets for itself.

The access model

3 roles

Admin, Manager and Team Member. The role travels inside the signed JWT, and Express middleware checks it on every protected route.

Three-tier role-based access

Admins, Managers and Team Members each get their own dashboard and their own allowed actions, checked on the server.

Kanban board with customizable statuses

Teams set the columns to match how they actually work, and tasks move between them as the work progresses.

Priorities and multi-member assignment

Every task carries a Low, Medium, High or Urgent priority and can go to more than one person.

Deadline tracking with reminders

Due dates on every task, with automated reminders before they pass.

Approval-based onboarding

New members request to join and get access only once their request is approved.

Role-specific analytics

Completion rates, workload distribution and real-time progress visualizations with Chart.js, scoped to what each role may see.

Exportable reports

Reports for time tracking and project milestones that can be exported and shared outside the app.

Secure authentication

JWT authentication, Bcrypt password hashing and secure API endpoints behind every protected action.

Architecture

How the Team Management System is built: architecture and MERN stack

Four decisions shaped the build: where permissions are enforced, how passwords and tokens are handled, where board state lives, and how tasks are modelled.

Security

Role checks enforced in Express middleware

Each user record holds one of the three roles, and the role travels inside the signed JWT. Protected routes pass through middleware that verifies the token and compares the role with what the route allows, so the rule is written once on the server. The React app also hides controls a user cannot use, but the API is the part that actually refuses a request.

Auth

JWT and Bcrypt for sign-in

Passwords are hashed with Bcrypt before storage, so the database never holds one in plain text. On sign-in the API issues a signed JWT carrying the user's role, and the React app sends it with each Axios request. An account only gets that far once its onboarding request has been approved.

State

Redux Toolkit for shared board state

A task appears in several places at once: its Kanban column, the assignee's dashboard, the deadline list and the analytics charts. Holding that in local component state would mean threading updates through the tree or refetching after every drag. With Redux Toolkit slices, a status change is dispatched once and every view reading that task updates from the same store, while async thunks keep each Axios call next to the state it changes.

Data

Mongoose models shaped around assignment

A task references its project and holds an array of assigned members, which makes multi-member assignment and workload views possible without copying data between documents. Priority is a fixed set (Low, Medium, High, Urgent) validated in the schema, so the board and reports never meet a priority that does not exist. Statuses are the exception: because the Kanban columns are customizable, they are stored as data a team can edit.

The Team Management System tech stack

Technologies used in Team Management System and what each one does
TechnologyWhat it does in Team Management System
React (Vite)The front end, built with Vite.
Redux ToolkitShared board state, with slices for tasks and async thunks for each API call.
Material UIThe component library behind the dashboards, forms and board.
AxiosHTTP requests from the Redux thunks to the Express API.
Node.jsThe runtime for the API.
ExpressRouting, plus the middleware that verifies tokens and checks roles.
MongoDBStorage for users, projects and tasks.
MongooseSchemas and validation, including the fixed set of four priorities.
JWTSigned tokens that carry each user's role to the server.
BcryptPassword hashing before anything is stored.
Challenges

Challenges in building role-based access, and how I solved them

Three of the hard parts: keeping the interface and the API in agreement, onboarding without open signup, and analytics that respect the same role boundaries.

Keeping the interface and the API in agreement about roles

Problem

With three roles, the front end and back end drift apart easily: a button hidden from a member while its endpoint still accepts the call, or a manager shown an action the API then rejects.

Solution

I treated the server as the source of truth and kept one map of which role may perform which action. The Express middleware enforces it, and the React components read the same rules to decide what to render, so a permission changes in one place.

Onboarding without open signup

Problem

A team tool where anyone can register and see the board leaks data to strangers. One where an admin creates every account by hand stops being practical past a handful of people.

Solution

The request and approval flow sits between the two. Anyone can ask to join, but the account has no access until the request is approved, and only then does its role take effect. Passwords are hashed with Bcrypt before storage.

Analytics that respect the same boundaries

Problem

Dashboards are where permission bugs hide. A workload chart is fine for a manager viewing their own team, and a leak if a team member can call the same endpoint and see everyone else's numbers.

Solution

The analytics endpoints scope their queries by the caller's role before aggregating, so a member's charts come from their own tasks and a manager's from the projects they run. Chart.js only receives data the user could already see.

Results

Results: role-specific dashboards for admins, managers and members

Each role now gets a dashboard suited to its job, built from the same tasks and scoped to what that role is allowed to see.

The one in the screenshot summarises team members, submitted reports, pending reviews, completed and pending tasks and active projects for the selected week, with a chart of reports per member and a split of work that is completed, in progress or awaiting review.

The same JWT and Bcrypt foundation, with a simpler two-role split, also runs MERN Mail, my email campaign manager with admin and user roles. Building three tiers here showed me that most of the effort in access control goes into deciding who should see what, more than into the code that enforces it.

What's next for Team Management System

Next would be an activity history on each task, showing who changed its status or assignment and when, and calendar export for deadlines. For role-based dashboards built a different way, with Admin and Customer roles enforced in plain PHP, see the PHP knowledge base management system.

FAQ

Team Management System: frequently asked questions

Short answers to the questions people ask most about the Team Management System and how its role-based access works.

What is the Team Management System?

A MERN web application that gives a team one place to plan, assign and track work, with a Kanban board, deadline reminders and analytics, and with what each person can do decided by their role.

What is the Team Management System built with?

React built with Vite, Redux Toolkit and Material UI on the front end, with Axios for requests. The API runs on Node.js and Express, with MongoDB and Mongoose for data, JWT for authentication and Bcrypt for password hashing.

What roles does the Team Management System support?

Three: Admin, Manager and Team Member, each with its own dashboard and its own allowed actions, checked on the server.

How does role-based access control work in this MERN app?

The role travels inside the signed JWT, and Express middleware verifies the token and compares the role with what the route allows. The React app hides controls a user cannot use, but the API is what actually refuses a request.

How do new members join a team?

Through a request and approval flow. Anyone can ask to join, but the account has no access until the request is approved, and only then does its role take effect. Passwords are hashed with Bcrypt before storage.

Who built the Team Management System?

Muhammad Abdullah Awais, a full-stack developer based in Pakistan. I built it across the whole stack, and I am available for freelance and full-time work on products like it.

Available for new builds

Need a full-stack developer for a product like this?

I work remotely with teams in the US, Canada, the UK, Europe and the Gulf, and with clients across Pakistan. Based in Pakistan (PKT, UTC+5), available for freelance and full-time roles.