Orlando, FL
Projects

WorkPoint

WorkPoint screenshot
January 2, 2025

Visit Project

https://frontend-orcin-six-60.vercel.app/

Overview

WorkPoint is an enterprise management dashboard for tracking departments, employees, budgets, and company-wide metrics. I built it as a personal engineering project. The backend is an ASP.NET Core REST API in C# with Dapper and SQL Server (deployed on Azure), while the frontend uses Next.js, React, Tailwind CSS, and MUI.

Key Features

  • Department Management: Provides an overview of each department, including salary totals and ranges and active and inactive employee counts.
  • Employee Insights: Lets signed-in users view, filter, and sort employee data, including salaries, job titles, and active status.
  • Comprehensive Metrics Dashboard: Tracks key performance indicators (KPIs) such as employee turnover, budget allocation, and salary utilization over time.
  • Interactive Charts and Visualizations: Features dynamic graphs and charts for clear, actionable insights into company performance.
  • Search and Sort Functionality: Helps users quickly locate departments, employees, and metrics with filtering and sorting tools.
  • Authentication: JWT sign-in with refresh-token rotation; every API controller requires a signed-in user.
  • Dark Mode Support: Ensures an accessible and visually pleasing experience for all users.

Technologies Used

Backend

  • ASP.NET Core (.NET 8, C#): REST API with controller, service, and data-access layers wired together with dependency injection.
  • Dapper: Used for database interactions, leveraging dynamic parameters for efficient and flexible querying.
  • SQL Server: A relational database deployed on Azure; application data is read and written through stored procedures.
  • JWT Authentication: Short-lived access tokens, single-use refresh tokens that rotate on every refresh, PBKDF2 password hashing, and rate limiting on the sign-in endpoints.

Frontend

  • Next.js: Chosen for its server-side rendering and static generation capabilities, ensuring fast page loads and SEO optimization.
  • React: Enables the creation of dynamic, reusable components for a consistent user interface.
  • Tailwind CSS: Allows for rapid styling with a utility-first approach, ensuring a clean and maintainable design.
  • Material-UI (MUI): Adds advanced UI components for a polished, professional look and feel.

Testing and CI

  • xUnit: Unit tests for the backend services, controllers, and helpers, plus integration tests for the HTTP and authentication pipeline.
  • Vitest: Unit and component tests for the frontend.
  • GitHub Actions: Runs linting, type checks, tests, and a production build for the frontend.

Deployment

  • Azure App Services: Hosts the backend API.
  • Vercel: Deploys the frontend application, providing seamless integration with Next.js and optimizing delivery.

Challenges and Solutions

Handling Complex Data Structures

The dashboard needed to aggregate and chart salary, budget, and headcount data across departments. I wrote those queries as SQL Server stored procedures and called them through Dapper with dynamic parameters, so the API returns data that is ready to display.

Balancing Performance and Flexibility

To ensure a seamless user experience, I combined server-side rendering with client-side interactions, leveraging Next.js’s capabilities for optimal performance.

Secure Authentication

Every API controller requires a signed-in user. I used JWT access tokens with single-use refresh tokens that are replaced on each refresh, hashed passwords with PBKDF2, and rate-limited the sign-in endpoints.

Keeping the API Testable

The backend separates controllers, services, and a data-access interface, all wired with dependency injection, so each service can be unit-tested with xUnit against a mocked data layer.

User-Centric Design

Creating an intuitive interface for both technical and non-technical users was a key focus: searchable, sortable tables, charts for the main KPIs, and a dark mode.