Skip to content
Selected work

XService

A service desk for a car repair shop: guests open tickets with a VIN lookup, customers follow their repairs, and admins run tickets, people and roles.

The admin dashboard with tiles for open tickets, services in progress, issues and closed tickets, a list of recent tickets with progress bars, and charts of service statuses and tickets per day
A demo customer's dashboard on a phone, with one open ticket, its progress bar, the car, the technician and the services with their statuses and prices
Role
Developer, then rebuilt solo
Year
2021 to 2026
Stack
  • Vue 2
  • Vuetify
  • Vuex
  • Firebase Auth
  • Cloud Firestore
  • NHTSA vPIC API
  • Netlify
Live site
xservice.netlify.app(opens in a new tab)

XService is a service desk for a car repair shop. A guest opens a service ticket without an account: their contact details, the car's VIN, which fills in the year, make and model, the mileage, and up to three services from the shop's catalog. They get a ticket ID to check its status. A customer with an account follows their open repairs and past tickets. The shop's admins run the rest: a dashboard, the tickets and each service's status, customers, technicians, user roles and a car search by VIN.

What I built

XService started in 2021 as a team project in my Advanced Software Engineering course at FIU. I built its first prototype (sign in, sign up and the admin shell) and deployed the team's app. The course repository is gone, so in 2026 I recovered the full app from the live site's source maps into my own repository and rebuilt it on my own: a new data model, security rules by role, demo data, a free VIN decoder in place of a paid one whose key sat in the browser, and a new interface.

How it is built

The app is Vue 2 with Vuetify, Vuex and Vue Router, built with Vue CLI and hosted on Netlify, on Firebase Authentication and Cloud Firestore. A ticket is one document that holds the contact details, the vehicle and its service lines, with prices in cents, where the first version split a ticket across three collections joined by references. Users are keyed by their sign-in ID, so the security rules find the caller's role with one lookup. The VIN is decoded in the browser with NHTSA's free vPIC API, and the admin's tickets, a customer's tickets and a guest's ticket update live while the shop works.

Ticket IDs are eight characters from an alphabet without look-alike characters, drawn from the browser's secure random generator. The rules allow a ticket to be created but never overwritten, so an ID that is already taken fails and the app draws another.

The hard parts

Guests write tickets without an account, so the Firestore rules are the only check on the server. Each service line has to copy its name, price and duration from the catalog, with at most three lines and no duplicates. A new ticket starts open with every service acknowledged, its time is the server's, and its VIN has to be seventeen characters. A guest can read one ticket by its ID but cannot list tickets, and a customer only ever sees their own. I checked the deployed rules with requests as a guest, a customer and an admin.

Visitors try it as the shop's admin or as a customer in one click. The rules let the demo accounts open, edit and move tickets along, and refuse deleting tickets or people, changing roles and editing the demo profiles. A scheduled function restores the demo data every day and removes accounts other than the two demo ones, so each day starts from the same shop.

Recovering the app was its own problem. My repository held only the first prototype, and the course repository with the rest is gone. Vue CLI's source maps carry the full source of every component, so I rebuilt the views, the store and the router from the live site's files and took the leaked keys out before the first commit.

Signing up had a race: the sign-in listener could read a new user's profile before it existed. The store lets a profile that was found win over a missing one from an older call, and drops results for a user who has already signed out, so the route guard never acts on a stale role.

Stack

Vue 2, Vuetify, Vuex, Vue Router and Vue CLI. Firebase Authentication and Cloud Firestore with role-based security rules. NHTSA's vPIC API for VIN decoding. Barlow, Material Design Icons and Netlify for hosting.

How it fits together
  1. NHTSA vPICVIN decoding
  2. Vue 2 appAdmin, customer, guest
  3. FirestoreRules check roles, prices

Screens

  • The tickets table with one ticket expanded to show the customer's contact details, the car with its VIN and mileage, the technician, three services with their statuses and the time and cost totals
  • The guest form for opening a ticket, with a VIN decoded as a 2018 Honda Accord, the mileage filled in and two services picked from a grid with prices and durations
  • The guest page on a phone, with the heading Car service without an appointment, a line offering the demo, tabs for a new ticket and for checking a ticket's status, and the start of the contact form
    A demo customer's dashboard on a phone, with one open ticket, its progress bar, the car, the technician and the services with their statuses and prices

Next projectPatients Registry

A patient intake and records app for a clinic front desk: register, search, edit and print patients, each visitor in a private demo sandbox.

The patient list with ten demo patients in a table of ID, name, sex, date of birth, age, email and phone, under an app bar with search and a New patient button