Tomorrow Industries presents
Introducing the Ohm Sweet Ohm 3000!
The help desk of tomorrow, today!
A working IT help desk, built as a portfolio project by Shane Folk. Employees file tickets; technicians assign, update, and resolve them. Built with Next.js, PostgreSQL, and Vercel.
Look at all these features!
Two roles, one click!
Employees see only their own tickets. IT techs see and manage all of them. Demo visitors can flip between the two with the “Viewing as” switch.
Checked at the door, every time!
The server re-checks who you are and what you're allowed to do on every request. Someone else's ticket simply comes back as “not found.”
Teamwork, built right in!
Techs assign tickets to each other, change status and priority, and everyone trades notes on the ticket itself.
A mainframe that never forgets!
Every change and sign-in lands in an amber activity log that only IT staff can open.
Spam-resistant construction!
Rate limits and hard caps stop bots from flooding the demo, and visitors sharing a demo account can't lock each other out.
Factory-fresh every morning!
A scheduled job resets the demo data every night, so every visitor starts with a tidy showroom.
Take it for a spin
Three steps, about two minutes. No sign-up needed.
Step 1: Be the employee
Log in as Penny from HR and file a ticket about anything that's on the fritz.
Step 2: Be the technician
Switch to Rex from IT (the “Viewing as” switch works too). Open Penny's ticket, assign a tech, and mark it resolved.
Step 3: Check the mainframe
Every step you just took is waiting in the amber activity log.
Spec sheet · Model OSO-3000
Under the hood
For the engineers in the audience: what it's built with and how it stays safe.
- Framework
- Next.js 16 (App Router, TypeScript): pages and API routes in one app
- Database
- PostgreSQL on Neon, queried with plain parameterized SQL (no ORM)
- Hosting
- Vercel, with a nightly Vercel Cron job that resets the demo
- Sign-in
- Signed JWT (jose) in an httpOnly cookie; passwords hashed with bcrypt
- Validation
- Zod schemas on every request body, shared with the browser forms
- Styling
- Tailwind CSS v4 with a custom “Atomic Age Appliance” theme
What happens on every request
proxy.ts. Sends logged-out visitors to the login page before any page loads (a convenience, not the lock).
Session and role check. Is the signed cookie valid? Is this role allowed here? If not: 401 or 403.
Rate limit. Too many requests this minute? 429, try again shortly.
Zod validation. Is the request body the right shape and size? If not: 400 with the reason.
Data layer. Is this ticket yours, or are you IT? If not: 404, so other people's tickets stay invisible.
PostgreSQL. Only parameterized SQL ($1, $2), so typed text can never become a command.
The database
Seven PostgreSQL tables. Lengths and allowed values are enforced by the database too, not just the app.
Seven tables. A department has many users and many tickets. A user submits many tickets and is assigned many tickets. A ticket has many assignment-history rows and many notes. Activity logs and rate limits stand alone.
db/schema.sql. Deleting a ticket also deletes its notes and assignment history; the activity log keeps its record.Security features
- Who did what (ticket owner, note author, log entry) always comes from the session, never the form.
- Password hashes never leave the server, and login errors never say whether the email exists.
- Security headers block framing (clickjacking) and content-type guessing.
- The nightly reset route only answers to a secret that Vercel holds.
- Demo visitors are told apart by a one-way hash of their IP, never the IP itself.
Spam limits
| Action | Limit | Counted |
|---|---|---|
| Log in (password or demo) | 5 per minute each | per IP address |
| Create a ticket | 5 per minute | per user |
| Add a note | 10 per minute | per user |
| Any other change | 30 per minute | per user |
| Open tickets | 10 at a time | per user (per visitor on demo accounts) |
| Notes | 20 | per ticket |
| Whole demo | 300 tickets, 1,000 notes | until the nightly reset |
Built by Shane Folk
Designed and built from the database up: schema, API, permissions, security, and every starburst.
- See more of my work in my portfolio: shanefolk.com
- Source code on GitHub
My next goal is building a storefront with a product showcase home page.