← PortfolioDESIGN / EVIDENCEOpen order app ↗

Behind the systems

Requirements, data models, tradeoffs, and reproducible checks.

CASE STUDY 01 · PORTFOLIO APPLICATION

From a simulated queue to saved order operations

The original prototype added sample orders to temporary page state. The expanded app stores orders on the server, validates workflow changes, and keeps a timestamped history. It is a portfolio implementation inspired by retail operations, not a production integration used by Floral Station Deli.

Requirements

Database design

WORKSPACE TOKENHttpOnly browser cookieRandom UUID · 30-day access

1 → 0..many

ORDERid · primary keyworkspace · indexed scopereference · channel · centsstatus · created_at · updated_athistory · JSON event list

1 → 1..many

HISTORY EVENTEmbedded in order.historyat · timestampstatus · workflow state

Decisions and tradeoffs

Testing evidence

The source includes executable validation and SQLite integration checks covering invalid values, lifecycle rules, workspace isolation, durable reloads, and stale updates. These are automated source-level tests; they are not a claim of production load testing or a live POS connection.

Read the recorded test run →

CASE STUDY 02 · RELATIONAL DESIGN EXERCISE

University enrollment model

A student can enroll in multiple course sections, and a section can contain multiple students. An enrollment entity resolves that many-to-many relationship. This is an illustrative portfolio model, not a reproduction of the submitted IT 117 assignment.

STUDENTstudent_id · PKemail · UNIQUE

1 → 0..many

ENROLLMENTenrollment_id · PKstudent_id · FKsection_id · FKUNIQUE(student_id, section_id)grade · nullable

0..many ← 1

SECTIONsection_id · PKcourse_id · FKterm

0..many ← 1

COURSEcourse_id · PKtitle · credits

Why this structure?

Course describes the catalog entry; section describes a specific offering. Enrollment stores the grade because the grade belongs to one student’s attempt in one section, not to the student or course alone. A unique student/section pair prevents duplicate enrollment without preventing a student from retaking a course in a different section.

Validation

The test fixture enables foreign keys, rejects orphan and duplicate enrollments, allows a course retake in a different section, and verifies an enrollment join. The fixture deliberately omits instructors and departments to keep the scope clear.

Download the SQL model →

Business result versus demo result

The deli’s 32% sales increase and 18% waste reduction are results reported in my résumé. The order app’s test results demonstrate software behavior; they do not measure or verify those business outcomes.