05 Case study
Challenge Module
Missions and rewards across app and web
Systems Angus led as an in-house engineer. These are not POIRAX client engagements.
A mission-and-rewards system venues use to run promotional challenges: members complete missions in the app, progress is tracked on the server, and rewards are issued automatically.
01Leading the team
I drew the system architecture and data flow in draw.io so everyone understood how the services talk to each other, turned PM and design requirements into a technical plan, and ran the schedule, task split and progress tracking.
02What I built
RESTful APIs in Node.js on MSSQL for missions, progress tracking and reward issuance, consumed by a React Native app and a Vue.js admin.
- Database schema designed so progress and rewards stay consistent.
- Regular code reviews to keep quality up across the team.
- API design conventions that the team adopted as its standard.
03Sequel: setting up quests by chat
In 2026 I came back to the module with a local LLM. Ops staff describe the campaign they want in the admin; an assistant running on a single RTX 5090 asks follow-up questions, checks feasibility, estimates the cost, and creates the campaign disabled so a person decides when it goes live. It is being validated against a sandbox copy of the database.
- The LLM only understands and asks; feasibility, cost and the admin API calls are deterministic code behind MCP servers.
- LangGraph pipeline: understand → check and cost → match reusable settings → blueprint → admin steps → create, rolling back on failure.
- Every reply passes a leak filter, so SQL, schema and code paths never reach the screen.
- Fully on-prem: gpt-oss-20b on vLLM, every step traced in Langfuse, every eval run logged in MLflow.
Outcome
Delivered on schedule and used for promotions across multiple venues; the API conventions became the team standard.
Contact
Have a process to fix, or AI to bring in?
Tell me what you are trying to fix or build. I read every message and reply within a couple of days. English or Mandarin is fine.