Skip to content
CompletedPortfolio project

IT Asset & Service Request Tracker

A full-stack IT management app for a fictional college that tracks equipment, network jacks and switch ports, and service requests from intake to resolution.

  • C#
  • ASP.NET Core
  • Entity Framework Core
  • SQLite
  • SQL
  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • xUnit
  • Vitest
  • GitHub Actions
  • Docker
Dashboard with counts of assets, open requests, warranty expirations, and network jacks, plus the newest service requests.

Overview

A web app for the IT department of a fictional school, Alder Creek College (all names, rooms, and devices are invented). It keeps equipment inventory, network jack and switch port patching, and service requests in one database, modeled on the records a campus telecom team keeps.

Problem

Campus IT teams often track equipment, jack-to-port patching, and service tickets in separate places, which leads to double-patched ports and lost ticket history.

Solution

An ASP.NET Core Web API with Entity Framework Core and SQLite that enforces the rules on the server: unique asset tags and serial numbers, one jack per switch port, no jacks on uplink ports, only the allowed ticket status changes, and VLANs from 1 to 4094. A React and TypeScript front end shows dashboards and reports where every number comes from a parameterized SQL query.

Key features

  • Switches, access and uplink ports, wall jacks, and VLANs are modeled the way a campus telecom team works with them, including patching and activating a jack.
  • Jacks can't be patched into a switch uplink: the API refuses with 409 Conflict, and the patch dialog only offers free access ports.
  • 8 parameterized SQL reports (warranty expirations, ticket aging, time to resolve, jack utilization, and more), each with CSV export.
  • The ticket workflow and assignment history are enforced on the server, with optimistic concurrency that returns 409 Conflict on stale edits.

Architecture

  • src/ItAssetTracker.Api/: thin controllers, services with the business logic and the report SQL, domain rule classes, request and response contracts, and EF Core migrations.
  • client/: React, TypeScript, Vite, and Tailwind CSS. Its production build is served by the API, so the whole app runs as one service.
  • One Docker image (Node build stage, .NET publish stage, small non-root runtime) that reads the port from the PORT variable and has a /api/health check. Hosted on Render's free plan.

Try it or install it

  1. Try the live demo: no install needed. The first visit after a quiet period takes about 50 seconds while it wakes.

  2. Run it locally: install the .NET 10 SDK and Node.js 22.22 or later, then get the code.

    git clone https://github.com/enobot/nate.git
    cd nate/apps/it-asset-service-request-tracker
  3. On Windows, one script restores, builds, and starts the app with demo data.

    powershell -ExecutionPolicy Bypass -File .\run-demo.ps1
  4. Full setup, test commands, and Docker instructions are in the README.

Testing

  • 191 xUnit tests: unit tests for every ticket status change (36 combinations), the asset and network rules, and VLAN range edges, plus integration tests that run the real API against real SQLite files.
  • 40 Vitest component tests for the React pages, plus TypeScript type-checking and linting.
  • GitHub Actions runs the backend tests, the client checks, and a Docker image build whenever the app changes. All three jobs passed on the first run.
  • The hosted app on Render passes its /api/health check and returns the same report numbers as the local build.
  • Checked by hand in the browser on desktop and mobile: creating an asset (including validation errors), moving a ticket through its workflow with its history, patching and activating jacks, and the reports.

Screenshots & diagrams

Dashboard with counts of assets, open requests, warranty expirations, and network jacks, plus the newest service requests. (opens full size in a new tab)
Dashboard with live counts from the database: assets, open requests, warranty expirations, and jack utilization.
Service request SR000083, Activate jack 2-211A for office move, with its workflow, assignment controls, and history. (opens full size in a new tab)
A service request with its workflow actions, assignment controls, and history.
Network page listing six closet switches with their access ports, patched ports, active jacks, and utilization bars. (opens full size in a new tab)
Network switches with access-port utilization. Each switch's uplink is left out of the count.
Patch and activate dialog for jack 1-113A warning that ADM-IDF1-SW01 has no free access ports, with the patch buttons disabled. (opens full size in a new tab)
The patch dialog never offers a switch's uplink port. Here the switch has no free access ports left.
Reports page showing assets by status and assets by building, each with Show SQL and Export CSV buttons. (opens full size in a new tab)
Each report is a parameterized SQL query, with Show SQL and Export CSV.
Equipment inventory table of laptops with asset tags, models, status, location, assignee, and warranty end dates, with search and filters. (opens full size in a new tab)
Equipment inventory with search and filters by status, type, and building.

Limitations

  • No sign-in: anyone who can reach the app can read and change data. The "Working as" picker records who did a ticket action, but the server can't verify it.
  • SQLite allows one writer at a time, which is fine for a demo but not for heavy concurrent use.
  • Render's free plan puts the demo to sleep after 15 minutes idle (the next visit takes about 50 seconds), and the demo data resets on every restart.
  • All data is invented (Alder Creek College). The app hasn't been used by a real IT team.

Who did what

  • Portfolio project built by Nathanael Haig.
  • The data model is based on the jack, switch port, and ServiceNow ticket work in Nathanael's CSUF IT Telecommunications job.