[{"data":1,"prerenderedAt":428},["ShallowReactive",2],{"site":3,"case-study-\u002Fwork\u002Fbrads-deals":88,"case-study-surround-\u002Fwork\u002Fbrads-deals":421},{"id":4,"title":5,"about":6,"bio":10,"contact":13,"education":30,"extension":34,"greeting":35,"headline":36,"headshot":37,"howIWork":38,"location":51,"meta":52,"name":53,"skills":54,"stem":86,"__hash__":87},"site\u002Fsite.yml","Senior Frontend Engineer",[7,8,9],"I'm a senior frontend engineer in Philadelphia. I got into the web through a high school media arts class (Photoshop, Illustrator, photography and my first WordPress site) and never really left.","After a B.S. in Computer Science from Rutgers–Camden, I was the first full-time hire at Brainyloft, then co-founded Jolt Creative Agency, where I led development across React, Python\u002FDjango and some VR\u002FAR. From there I spent three years at King & Partners building headless Vue and Nuxt sites for fashion and hospitality brands.","Most recently I spent nearly four years at Brad's Deals, helping move the site from Rails to Nuxt and bringing a pile of data sources together into one fast, accessible front end. I'm now looking for my next senior frontend or full-stack role.",[11,12],"I'm Tevin, a senior frontend engineer with nearly a decade of Vue, Nuxt and TypeScript across e-commerce, hospitality and agency work. Most recently I spent nearly four years rebuilding Brad's Deals on Nuxt.","I like turning messy data into fast, friendly interfaces, and asking what problem we're really solving before I build the component.",[14,18,22,26],{"label":15,"href":16,"icon":17},"Email","mailto:tevdevelops@gmail.com","lucide:mail",{"label":19,"href":20,"icon":21},"LinkedIn","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Ftevdevelops\u002F","lucide:linkedin",{"label":23,"href":24,"icon":25},"GitHub","https:\u002F\u002Fgithub.com\u002Ftevdevelops","lucide:github",{"label":27,"href":28,"icon":29},"Resume","\u002Ftevin-rivera-resume.pdf","lucide:file-text",{"degree":31,"school":32,"year":33},"B.S. Computer Science","Rutgers University–Camden",2017,"yml","Yerp 👋 (that's hello in Philly)","I build fast, accessible front ends for products with a lot of data behind them.","\u002Fmedia\u002Ftevin-rivera.jpg",[39,42,45,48],{"title":40,"body":41},"Start with the problem","Before I build the component in front of me, I step back and ask what problem we're actually trying to solve. Sometimes the best fix is a smaller one.",{"title":43,"body":44},"Performance and accessibility are part of done","Core Web Vitals and WCAG aren't a cleanup pass. I keep load time, layout shift and keyboard and screen-reader access in scope from the first commit through every redesign.",{"title":46,"body":47},"Many sources, one experience","Real products pull from CMSs, caches, legacy systems and microservices. My job is to make all of it load efficiently and read to users as if it came from one place.",{"title":49,"body":50},"AI-accelerated, human-judged","I use Claude Code to prototype, build and review faster. I still own the definition of the problem, the bar for quality, and the final call on what ships.","Philadelphia, PA",{},"Tevin Rivera",[55,64,74,81],{"group":56,"items":57},"Front end",[58,59,60,61,62,63],"Vue.js","Nuxt","TypeScript","JavaScript","HTML","CSS",{"group":65,"items":66},"Data and back end",[67,68,69,70,71,72,73],"REST APIs","JSON","Redis","Elasticsearch","Contentstack","WordPress","Python",{"group":75,"items":76},"Tools and platforms",[77,78,79,23,80],"Claude Code","AWS","Git","Cloudflare",{"group":82,"items":83},"Performance and accessibility",[84,85],"Core Web Vitals \u002F PageSpeed","Web Accessibility (ADA\u002FWCAG)","site","EKU-J3kRFrV0yv7NBG1nFNub7NgMtxRN1SdJJEfA6lw",{"id":89,"title":90,"body":91,"cover":113,"description":97,"extension":397,"featured":398,"liveUrl":399,"meta":400,"navigation":398,"order":401,"org":402,"outcomes":403,"path":407,"period":408,"role":409,"seo":410,"stack":411,"status":417,"stem":418,"summary":419,"__hash__":420},"caseStudies\u002Fwork\u002Fbrads-deals.md","Finishing Brad's Deals' move to Nuxt",{"type":92,"value":93,"toc":387},"minimark",[94,98,103,106,116,119,122,153,156,159,162,166,169,172,175,178,181,193,196,199,203,206,209,212,233,242,249,257,260,264,267,273,276,280,283,293,296,317,320,323,327],[95,96,97],"p",{},"Brad's Deals is a deal-discovery site. Editors find good deals across the internet and post them with a write-up, a price and a tracked affiliate link. Nearly every page on the site is some arrangement of those posts: feeds, grids, sliders, search results, and a detail page for each one.",[99,100,102],"h2",{"id":101},"finishing-the-migration","Finishing the migration",[95,104,105],{},"When I started in January 2023, the site was split. A proof of concept had moved a handful of pages to Nuxt, but most of the site still ran on an aging Rails app. Content was split too: editors still worked in a legacy CMS while new content types were being modeled in Contentstack. The goal was a modern Vue and Nuxt front end: easier to hire for, nicer to build in, with server rendering for SEO and app-like navigation once it loads.",[107,108],"figure-pair",{"caption":109,"first":110,"first-alt":111,"first-label":112,"second":113,"second-alt":114,"second-label":115},"The homepage before and after. The 2022 capture is from the Wayback Machine.","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Frails-2022.jpg","Brad's Deals homepage in November 2022: navy header, category bar and a Featured Deals box of product photos","Nov 2022 · Rails","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fcover.jpg","Brad's Deals homepage in November 2026: a Today's Top Deals slider of large deal cards in green and sage","Nov 2026 · Nuxt",[95,117,118],{},"I joined a team of four front-end developers. The Nuxt 3 and Pinia foundations were already in place, so my early work was building out the patterns we needed as more content moved into Contentstack: receiving each new content type, normalizing it, and rendering it alongside data from the older systems.",[95,120,121],{},"The work came in waves:",[123,124,125,129,132,135,138,141,144,147,150],"ol",{},[126,127,128],"li",{},"Moving the content-driven pages off Rails",[126,130,131],{},"Moving the deal feeds onto the new search API",[126,133,134],{},"A post detail page refresh",[126,136,137],{},"The acquisition modal and social sign-on",[126,139,140],{},"A search page rebuild",[126,142,143],{},"A homepage redesign and migration",[126,145,146],{},"A new color palette and a second post detail refresh",[126,148,149],{},"Members-only deals",[126,151,152],{},"Email preferences, the last page on Rails",[95,154,155],{},"Partway through, the team got smaller. There were two of us by March 2025, and from February 2026 I was the only front-end developer. I worked with a full-stack Contentstack developer, a backend developer, DevOps, product, design and QA. In November 2026 I shipped the email preferences page, the last piece of the site still served by Rails.",[95,157,158],{},"That last piece was bigger than it looks. Every marketing email already sitting in subscribers' inboxes links to one-click actions like \"switch to weekly\" or \"unsubscribe from promotions\", so those URLs had to keep working exactly as before. I rebuilt the preference center in Nuxt and moved the one-click actions into server routes that apply the change and redirect with a confirmation. Both talk to the users service with server-side credentials, so no secrets reach the browser. I also hardened two things along the way: redirect paths are validated so the links can't be used as open redirects, and unsubscribes relayed to the email platform go through a stricter host allowlist than the Rails version had.",[95,160,161],{},"This is also where AI changed how I work. I gave Claude Code the list of URLs and behaviors the migration had to cover and pointed it at the old Rails code. Because the Nuxt codebase had well-established patterns, it drafted most of the port in that style. I reviewed and reworked the code by hand, tested every flow myself, and had it help write the Playwright tests that now guard those links.",[99,163,165],{"id":164},"one-source-for-every-deal","One source for every deal",[95,167,168],{},"Posts are the core data of the site, and for a long time they arrived from three places: Contentstack, a legacy search service and a newer search API. Each returned a slightly different shape. The team's architecture, which I built on and extended, converted posts from Contentstack and the search API into one record shape and stored each one once in Pinia. Deals from the legacy service lived in their own model until it was retired. Feeds stored only lists of post IDs. Tiles, sliders and detail pages all read from the same store.",[95,170,171],{},"My first big project was moving the deal feeds onto this model. Editors define a feed in Contentstack as a query: stores, brands, categories, sort order. The app translates that query into a search API request, normalizes the posts that come back, and renders them as horizontal sliders or filterable grids.",[95,173,174],{},"The homepage shows how the pieces fit together:",[176,177],"homepage-data-flow",{},[95,179,180],{},"The hard part was making sure each post was loaded once per session, even when the same post was featured at the top of the homepage, appeared in the grid below it and then opened on its own page. A few rules handled it:",[182,183,184,187,190],"ul",{},[126,185,186],{},"A request that's already in flight is reused instead of repeated.",[126,188,189],{},"A thin preview of a post never overwrites the full version.",[126,191,192],{},"The post detail page always asks for the authoritative full record.",[95,194,195],{},"Over time the team moved every post onto the search API, and in 2026 the legacy service and its separate model were retired. That removed a whole class of \"which version of this post is this?\" bugs.",[95,197,198],{},"Hydration was the main source of layout shift. Below-the-fold blocks render as they approach the viewport, and feeds load without blocking the page, so content kept arriving after first paint and pushing things around. Ads made it worse. I built skeleton loaders that match each tile layout exactly, so content fills a space that's already reserved instead of shoving the page down. Each release, I watched Core Web Vitals in Datadog and fixed regressions as they appeared, and I checked Lighthouse as I built rather than in a cleanup pass at the end.",[99,200,202],{"id":201},"members-only-deals-that-dont-leak","Members-only deals that don't leak",[95,204,205],{},"Product wanted to put some of the best deals behind a free account, so they'd drive sign-ups. Logged-out visitors see a member-only post with its price and details hidden behind a prompt to join. Members see everything.",[95,207,208],{},"The easy version is a blur over the real price. My first implementation did exactly that, and when I wrote the architecture decision record for it I noted the catch plainly: the real price was still in the page's data payload, visible to anyone who opened dev tools. It was concealed, not protected.",[95,210,211],{},"The fix was to make the server the gatekeeper:",[182,213,214,221,227],{},[126,215,216,220],{},[217,218,219],"strong",{},"Masking happens at the API."," The search API removes member prices unless the request carries a member's token. Server rendering always runs anonymously, so the HTML cached at the CDN never contains a member price.",[126,222,223,226],{},[217,224,225],{},"The locked view can't leak."," It renders a decoy with fake text and a fake price, and the component doesn't accept real post data at all.",[126,228,229,232],{},[217,230,231],{},"The token never touches the server's shared state."," It lives only in the browser, so one visitor's session can't bleed into another visitor's server-rendered page.",[107,234],{"caption":235,"first":236,"first-alt":237,"first-label":238,"second":239,"second-alt":240,"second-label":241},"The same member-only post, both ways. Logged out, the page has a price-free headline and decoy text; the real price never left the server. Captured on the staging site, where a member-only test deal was live.","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fmember-post-locked.jpg","Member-only post while logged out: a price-free headline, blurred decoy text, and a Log In or Create Account card where the price would be","Logged out","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fmember-post-unlocked.jpg","The same post while logged in: the real headline with the price, the write-up, a member price and retail price, instant savings, and a Get this Offer button","Logged in",[95,243,244,245,248],{},"The interesting work was the reveal. A homepage might show a dozen member-only tiles. After login, a client-side plugin collects every masked post on the page and reveals them all with ",[217,246,247],{},"one"," batched request, then updates their records in the store. Every tile showing those posts re-renders on its own, and nothing else is refetched. On logout the same path runs in reverse and re-masks them. To avoid a jarring locked-then-unlocked flash for returning members, the featured block holds a skeleton briefly while a reveal is likely, capped at 2.5 seconds.",[107,250],{"caption":251,"first":252,"first-alt":253,"first-label":238,"second":254,"second-alt":255,"second-label":256},"A homepage tile before and after login. The tile never fetches anything itself; one batched reveal updates the store and every tile showing the post re-renders.","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fmember-tile-locked.jpg","Homepage tile for a member-only deal while logged out: a members banner, blurred description and a Join for Free button","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fmember-tile-unlocked.jpg","The same homepage tile after login: the real headline and description and an Access Offer button","After login",[95,258,259],{},"Around membership I also built the acquisition experience. I helped shape the content model in Contentstack so marketing could create modal variants (headline, copy, call to action, layout) and launch campaign-specific versions from a URL parameter without a deploy. The modal waits until the visitor has started scrolling, skips logged-in users and known subscribers, and limits how often it appears. A dedicated membership drawer followed for member campaigns. I integrated sign-on with Google (including One Tap), Facebook and Apple against the users service, with every provider ending in the same session handling.",[99,261,263],{"id":262},"rebuilding-search","Rebuilding search",[95,265,266],{},"I led the rebuild of the search results page, released in August 2024. Results load from the search API in pages of 12, with sort options and filters for brand, store, category and gender. The filter options come from the search response itself, so they always reflect what's actually in the results. Active filters show as removable chips.",[268,269],"case-figure",{"alt":270,"caption":271,"src":272},"Search results for headphones: a search field, result count, Filters and Sort buttons, and a grid of deal tiles with favorite buttons","Search results with filters, sort and the favorite button on every tile.","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fsearch.jpg",[95,274,275],{},"The URL is the source of truth. Every search, filter and sort is reflected in the query string, so results can be shared and bookmarked, and the back button behaves the way people expect. Empty results fall back to top categories instead of a dead end. I also added store suggestions to the search bar's autocomplete.",[99,277,279],{"id":278},"redesigns-without-rot","Redesigns without rot",[95,281,282],{},"The post detail page was redesigned more than once, driven by product and data decisions about what made people click through to a deal. I built each version from a UI designer's Figma files, working closely with her and our QA manager to match designs and pass QA across mobile, tablet and desktop.",[107,284],{"caption":285,"first":286,"first-alt":287,"first-label":288,"second":289,"second-alt":290,"second-label":291,"layout":292},"The current post detail page, with the holiday theme live (captured November 2026).","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fpost-detail.jpg","Post detail page on desktop: product image with favorite and share buttons, headline, write-up, deal voting, price with savings, and a Get This Deal button","Desktop","\u002Fmedia\u002Fwork\u002Fbrads-deals\u002Fpost-detail-mobile.jpg","The same post detail page on mobile, stacked vertically","Mobile","device",[95,294,295],{},"Repeated redesigns are how codebases rot: the new version copies the old component, and both live forever. I kept rethinking the reusable pieces so each redesign removed code instead of adding a parallel copy:",[182,297,298,305,311],{},[126,299,300,301,304],{},"The ",[217,302,303],{},"price group"," (member price, retail price, savings) hides the savings line when the discount rounds to 0%.",[126,306,300,307,310],{},[217,308,309],{},"favorite button"," is a real toggle that announces its state to screen readers.",[126,312,300,313,316],{},[217,314,315],{},"image carousel"," has labeled controls.",[95,318,319],{},"The newest pieces, like deal voting, follow the same rules.",[95,321,322],{},"After a site-wide palette refresh, I built the first seasonal theme. That meant moving our colors from hard-coded Sass values to CSS custom properties, and it produced a holiday palette that switches on from November 1 to December 31 (Chicago time), with a feature flag to override the dates. The server decides once whether the theme is active and passes that decision to the browser, so the page never renders one palette on the server and flips to another on load. A test fails if a theme token is defined but never used, or used but never defined. Membership styling is deliberately exempt, so member offers always look like member offers.",[99,324,326],{"id":325},"how-i-worked","How I worked",[182,328,329,335,341,360,366],{},[126,330,331,334],{},[217,332,333],{},"Decisions written down."," I wrote the codebase's 11 architecture decision records. Several of them, including the membership ones, record where my own earlier decision was wrong and why it changed.",[126,336,337,340],{},[217,338,339],{},"Tested at two levels."," Unit tests cover components, stores and server routes. Playwright end-to-end tests run against a mock API that simulates real behaviors like member-price masking.",[126,342,343,346],{},[217,344,345],{},"Accessibility as a default.",[182,347,348,351,354,357],{},[126,349,350],{},"Modals return focus to whatever opened them.",[126,352,353],{},"The page behind an open modal becomes inert.",[126,355,356],{},"Loading states announce themselves to screen readers.",[126,358,359],{},"Decorative and decoy content is hidden from assistive tech.",[126,361,362,365],{},[217,363,364],{},"Measured."," Segment events on key interactions; Core Web Vitals monitored in Datadog after each release.",[126,367,368,371,372,383,386],{},[217,369,370],{},"AI-accelerated, human-judged."," From early 2026 I used Claude Code to:",[182,373,374,377,380],{},[126,375,376],{},"prototype different approaches to big features",[126,378,379],{},"surface edge cases the acceptance criteria hadn't covered, so I could raise them with product early",[126,381,382],{},"draft code and Playwright tests in the codebase's established style",[384,385],"br",{},"I owned the problem definition, the review and the final call on what shipped.",{"title":388,"searchDepth":389,"depth":389,"links":390},"",2,[391,392,393,394,395,396],{"id":101,"depth":389,"text":102},{"id":164,"depth":389,"text":165},{"id":201,"depth":389,"text":202},{"id":262,"depth":389,"text":263},{"id":278,"depth":389,"text":279},{"id":325,"depth":389,"text":326},"md",true,"https:\u002F\u002Fwww.bradsdeals.com\u002F",{},1,"Brad's Deals",[404,405,406],"Finished the Rails → Nuxt migration as the sole front-end developer","Member pricing that never ships in cached HTML","Led the search rebuild from first commit to release","\u002Fwork\u002Fbrads-deals","Jan 2023 – Nov 2026","Front End → Senior Front End Developer",{"title":90,"description":97},[412,413,60,414,71,415,416,77],"Nuxt 3","Vue","Pinia","Vitest","Playwright","published","work\u002Fbrads-deals","I joined Brad's Deals as one of four front-end developers on a site split between legacy Rails and a young Nuxt app. Four years later, as the only front-end developer left, I shipped the last Rails page. Along the way I built members-only deals, led the search rebuild and kept redesigns from rotting the codebase.","GoDNBFej2UZ6Jbv5Gls-jA5DWiMbFd4528iFRiAv49k",[422,423],null,{"title":424,"path":425,"stem":426,"org":427,"children":-1},"Aurora Anguilla, built in two months","\u002Fwork\u002Faurora-anguilla","work\u002Faurora-anguilla","King & Partners",1794848996238]