A modern, collaborative team management platform designed to enhance productivity and team spirit.
- Tactile Note System — A digital corkboard with realistic sticky notes featuring paper textures, randomized rotation, and physical fasteners
- Enterprise SSO — Secure authentication via Microsoft Entra ID (Azure AD)
- Real-time Telemetry — Performance monitoring with Azure Application Insights
- Dark/Light Mode — Full theme support with smooth transitions
- Premium UI — Glassmorphism, micro-animations, and modern design patterns
- Fully Responsive — Optimized for all screen sizes
| Category | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Styling | Tailwind CSS v4 |
| UI Components | Shadcn/UI (Radix Primitives) |
| Animations | Framer Motion |
| Smooth Scrolling | Lenis |
| Authentication | NextAuth.js v5 (Microsoft Entra ID) |
| Telemetry | Azure Application Insights |
| Icons | Lucide React |
| Fonts | Inter (Sans), Patrick Hand (Handwriting) |
graph TB
subgraph "Client Layer"
A[Next.js App Router] --> B[React Components]
B --> C[Framer Motion]
B --> D[Tailwind CSS v4]
end
subgraph "Authentication"
E[NextAuth.js v5] --> F[Microsoft Entra ID]
E --> G[Session Management]
end
subgraph "Backend Services"
H[API Routes] --> I[Azure Services]
I --> J[App Insights]
end
A --> E
A --> H
style A fill:#0070f3,color:#fff
style E fill:#5c2d91,color:#fff
style J fill:#0078d4,color:#fff
The data model is structured around users, tactile notes with tagging capabilities, and real-time presence tracking:
erDiagram
USERS ||--o{ NOTES : "authors"
USERS ||--o{ ONLINE : "tracks presence"
USERS }o--o{ NOTES : "tagged in"
USERS {
string user_id PK "Unique identifier (Entra ID / Auth)"
objectId _id "Internal document ID"
string user_email "User email address"
string user_name "Display name"
string user_image "Profile avatar URL"
}
NOTES {
string note_id PK "Unique note identifier"
objectId _id "Internal document ID"
string note_user_id FK "Author reference -> Users.user_id"
string note_text "Sticky note message body"
string note_type "Category (kudos, shoutout, reminder)"
array tags "Tagged user IDs array"
int visits_counts "Total view & impression count"
}
ONLINE {
objectId _id PK "Internal document ID"
string user_id FK "User reference -> Users.user_id"
boolean active "Real-time active presence status"
}
| Collection / Entity | Attribute | Type | Key | Description |
|---|---|---|---|---|
USERS |
user_id |
string |
PK | Unique identifier provisioned via Microsoft Entra ID SSO |
_id |
ObjectId |
Internal document identifier | ||
user_email |
string |
User's organizational email address | ||
user_name |
string |
Full display name | ||
user_image |
string |
Avatar profile picture URL | ||
NOTES |
note_id |
string |
PK | Unique identifier for each digital sticky note |
_id |
ObjectId |
Internal document identifier | ||
note_user_id |
string |
FK | Author ID referencing USERS.user_id (1:N) |
|
note_text |
string |
Content / message rendered on the tactile note | ||
note_type |
string |
Classification tag (kudos, feedback, reminder) |
||
tags |
string[] |
Array of recipient user_id values tagged on the note (N:M) |
||
visits_counts |
int |
Impression and view counter on the corkboard wall | ||
ONLINE |
_id |
ObjectId |
PK | Heartbeat session identifier |
user_id |
string |
FK | Session owner referencing USERS.user_id (1:N) |
|
active |
boolean |
Real-time presence flag indicating current activity |
- Authorship (
USERS→NOTES): One user can author multiple notes (1:N), referenced vianote_user_id. - Recipient Tagging (
USERS↔NOTES): Notes support multi-user tagging via thetagsarray (N:M), enabling collaborative kudos and team recognition. - Presence Sessions (
USERS→ONLINE): Authenticated users broadcast presence heartbeats to track real-time active status across the dashboard.
graph LR
subgraph "app/"
A1[page.tsx] --> A2[Landing Page]
A3[login/] --> A4[Authentication]
A5[dashboard/] --> A6[Protected Routes]
A7[public/] --> A8[Public Wall]
A9[not-found.tsx] --> A10[404 Page]
end
subgraph "components/"
B1[ui/] --> B2[Base Components]
B3[landing/] --> B4[Marketing Sections]
B5[layout/] --> B6[Navigation & Footer]
B7[dashboard/] --> B8[Dashboard Views]
end
style A2 fill:#10b981,color:#fff
style A4 fill:#8b5cf6,color:#fff
style A6 fill:#f59e0b,color:#fff
team-boost/
├── app/ # Next.js App Router
│ ├── api/
│ │ └── auth/ # NextAuth.js API routes
│ │ └── [...nextauth]/ # Auth handlers
│ ├── dashboard/ # Protected dashboard pages
│ │ ├── notes/ # Notes management
│ │ ├── settings/ # User settings
│ │ ├── team/ # Team management
│ │ ├── layout.tsx # Dashboard layout with sidebar
│ │ └── page.tsx # Dashboard home
│ ├── login/ # Authentication page
│ │ └── page.tsx # Microsoft SSO login
│ ├── pricing/ # Pricing page
│ │ └── page.tsx
│ ├── public/ # Public wall page
│ │ └── page.tsx
│ ├── globals.css # Global styles & design tokens
│ ├── layout.tsx # Root layout
│ ├── not-found.tsx # Custom 404 page
│ └── page.tsx # Landing page
│
├── components/
│ ├── dashboard/ # Dashboard-specific components
│ │ ├── note-card.tsx # Dashboard note card
│ │ ├── recent-activity.tsx # Activity feed
│ │ └── stats-cards.tsx # Statistics overview
│ │
│ ├── landing/ # Marketing page sections
│ │ ├── FinalCTASection.tsx # Call-to-action section
│ │ ├── HeroSection.tsx # Hero with 3D visuals
│ │ ├── Marquee.tsx # Infinite scroll ticker
│ │ ├── PublicPreviewSection.tsx # Public wall preview
│ │ └── StorySection.tsx # Feature showcase
│ │
│ ├── layout/ # Layout components
│ │ ├── floating-navbar.tsx # Glassmorphic navigation
│ │ ├── footer-wrapper.tsx # Footer context wrapper
│ │ └── site-footer.tsx # Main footer component
│ │
│ ├── marketing/ # Marketing components
│ │ ├── site-footer.tsx # Marketing footer
│ │ └── site-header.tsx # Marketing header
│ │
│ ├── notes/ # Note-related components
│ │
│ ├── public/ # Public-facing components
│ │
│ ├── sections/ # Reusable page sections
│ │
│ ├── ui/ # Reusable UI components
│ │ ├── BackgroundGrid.tsx # Grid pattern overlay
│ │ ├── HeroVisual.tsx # 3D hero visual
│ │ ├── MagneticButton.tsx # Interactive button
│ │ ├── MeshBackground.tsx # Gradient mesh
│ │ ├── SmoothScroll.tsx # Lenis scroll wrapper
│ │ ├── TactileNoteCard.tsx # Sticky note component
│ │ ├── border-beam.tsx # Animated border effect
│ │ └── ... # Shadcn/UI components
│ │ # (avatar, badge, button, card,
│ │ # dropdown-menu, input, separator,
│ │ # sheet, sidebar, skeleton, table,
│ │ # tooltip, breadcrumb)
│ │
│ ├── app-insights.tsx # Azure App Insights wrapper
│ ├── app-sidebar.tsx # Dashboard sidebar
│ ├── mode-toggle.tsx # Dark/Light mode toggle
│ ├── nav-main.tsx # Main navigation
│ ├── nav-projects.tsx # Projects navigation
│ ├── nav-user.tsx # User menu navigation
│ ├── team-switcher.tsx # Team switcher component
│ └── theme-provider.tsx # Theme context provider
│
├── lib/ # Utilities & helpers
│ ├── auth.ts # NextAuth.js configuration
│ ├── mock-data.ts # Development mock data
│ └── utils.ts # Utility functions (cn, etc.)
│
├── hooks/ # Custom React hooks
│ └── use-mobile.ts # Mobile detection hook
│
├── infrastructure/ # Azure deployment resources
│ ├── bicep/ # Azure Bicep templates
│ ├── scripts/ # Deployment scripts
│ └── README.md # Infrastructure documentation
│
├── public/ # Static assets
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
│
├── middleware.ts # Next.js middleware (auth)
├── next.config.ts # Next.js configuration
├── tailwind.config.ts # Tailwind CSS configuration
└── tsconfig.json # TypeScript configuration
mindmap
root((TeamBoost Design))
Glassmorphism
Backdrop blur
Transparent backgrounds
Subtle borders
Micro-interactions
Hover states
Spring animations
Magnetic effects
Visual Hierarchy
Bold typography
Color accents
Depth with shadows
Tactile Elements
Paper textures
Physical fasteners
Realistic rotation
| Token | Light Mode | Dark Mode | Usage |
|---|---|---|---|
--background |
White | #0a0a0a |
Page background |
--foreground |
Dark | Light | Primary text |
--neon-blue |
— | oklch(0.7 0.25 260) |
Accent highlights |
--neon-purple |
— | oklch(0.65 0.3 310) |
Primary accent |
| Selection | Purple | Purple | Text selection |
| Component | Description |
|---|---|
TactileNoteCard |
Realistic sticky note with paper texture, rotation, and fasteners |
MagneticButton |
Button with cursor-following magnetic effect |
FloatingNavbar |
Glassmorphic navigation with morphing mobile menu |
BorderBeam |
Animated gradient border effect |
BackgroundGrid |
Subtle grid pattern overlay |
- Node.js 18+ installed
- Azure Cloud Account (for Auth & Telemetry)
git clone https://github.com/thezaynahmed/team-boost.git
cd team-boost
npm installCreate a .env.local file in the root directory:
# Authentication (NextAuth.js)
AUTH_SECRET="<Generated Secret>" # Run: openssl rand -base64 32
# Microsoft Entra ID (Azure AD)
AUTH_MICROSOFT_ENTRA_ID_ID=""
AUTH_MICROSOFT_ENTRA_ID_SECRET=""
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID=""
# Telemetry (Azure Application Insights)
NEXT_PUBLIC_APPINSIGHTS_CONNECTION_STRING=""npm run devOpen http://localhost:3000 to view the app.
sequenceDiagram
participant User
participant App as TeamBoost
participant NextAuth
participant Entra as Microsoft Entra ID
User->>App: Click "Sign in with Microsoft"
App->>NextAuth: Initiate OAuth flow
NextAuth->>Entra: Redirect to Microsoft login
User->>Entra: Enter credentials
Entra->>NextAuth: Return authorization code
NextAuth->>Entra: Exchange code for tokens
Entra->>NextAuth: Return access token
NextAuth->>App: Create session
App->>User: Redirect to dashboard
-
Register Application in Azure Portal
- Navigate to Microsoft Entra ID → App registrations → + New registration
- Name:
TeamBoost-Dev - Redirect URI:
http://localhost:3000/api/auth/callback/microsoft-entra-id
-
Configure Credentials
- Copy Application (client) ID →
AUTH_MICROSOFT_ENTRA_ID_ID - Copy Directory (tenant) ID →
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID - Create Client Secret →
AUTH_MICROSOFT_ENTRA_ID_SECRET
- Copy Application (client) ID →
-
Create Resource in Azure Portal
- Search for "Application Insights" → + Create
- Resource Group:
rg-teamboost-dev - Name:
ai-teamboost-dev
-
Get Connection String
- Navigate to resource Overview page
- Copy Connection String →
NEXT_PUBLIC_APPINSIGHTS_CONNECTION_STRING
flowchart TB
A[Source Code] --> B{Choose Platform}
B --> C[Azure Container Apps]
B --> D[Azure App Service]
B --> E[Azure Static Web Apps]
C --> F[Container Registry]
F --> G[Deploy Container]
D --> H[Node.js Runtime]
H --> I[Deploy via GitHub Actions]
E --> J[Static Export]
J --> K[CDN Distribution]
style C fill:#0078d4,color:#fff
style D fill:#0078d4,color:#fff
style E fill:#0078d4,color:#fff
-
Build Docker Image
docker build -t teamboost:latest . -
Push to Azure Container Registry
az acr login --name <your-registry> docker tag teamboost:latest <your-registry>.azurecr.io/teamboost:latest docker push <your-registry>.azurecr.io/teamboost:latest
-
Deploy to Container Apps
az containerapp create \ --name teamboost \ --resource-group rg-teamboost \ --environment <your-environment> \ --image <your-registry>.azurecr.io/teamboost:latest \ --target-port 3000 \ --ingress external
-
Configure Environment Variables
- Add all
.env.localvariables in Azure Portal → Container App → Configuration
- Add all
-
Update Redirect URI
- Azure App Registration → Authentication → Add:
https://<your-app>.azurecontainerapps.io/api/auth/callback/microsoft-entra-id
-
Create App Service
- Runtime: Node.js 18 LTS
- OS: Linux
-
Configure Deployment
- Enable GitHub Actions deployment or use Azure CLI:
az webapp up --name teamboost-app --resource-group rg-teamboost --runtime "NODE:18-lts" -
Set Environment Variables
- Azure Portal → App Service → Configuration → Application settings
-
Update Redirect URI in Azure App Registration
Note: Requires
next exportfor static generation. Some features may not be compatible.
- Create Static Web App in Azure Portal
- Connect to GitHub Repository
- Configure Build:
- App location:
/ - Output location:
out - Build command:
npm run build
- App location:
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
Mock users, notes, and relational helper functions reside in lib/mock-data.ts.
import { Note, USERS, NOTES, getNotesWithRelations } from "@/lib/mock-data";
// 1. Fetch all notes with resolved author & recipient details
const notesWithRelations = getNotesWithRelations();
// 2. Append a new recognition note
const newNote: Note = {
id: `n${NOTES.length + 1}`,
authorId: 'u1', // Alice Chen
recipientId: 'u2', // Bob Smith
content: 'Outstanding work orchestrating the Azure Bicep IaC automation!',
status: 'published',
createdAt: new Date().toISOString(),
};- Global Styles:
app/globals.css(design tokens, animations) - Theme: Managed via
next-themes(Dark/Light modes) - Icons: Use
lucide-reactfor iconography - Animations: Use
framer-motionfor complex animations
The app uses a custom purple text selection style matching the brand colors:
::selection {
background: oklch(0.55 0.25 290);
color: #ffffff;
}This project is private and proprietary.
Built by Zain Ahmed
Last reviewed: September 2026