[{"data":1,"prerenderedAt":365},["ShallowReactive",2],{"site":3,"case-study-\u002Fwork\u002Fback-porch-golf":88,"case-study-surround-\u002Fwork\u002Fback-porch-golf":354},{"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":328,"description":97,"extension":329,"featured":330,"liveUrl":311,"meta":331,"navigation":330,"order":317,"org":332,"outcomes":333,"path":337,"period":338,"role":339,"seo":340,"stack":341,"status":350,"stem":351,"summary":352,"__hash__":353},"caseStudies\u002Fwork\u002Fback-porch-golf.md","Back Porch Golf Co., a booking system with real rules",{"type":92,"value":93,"toc":315},"minimark",[94,98,101,104,109,117,123,126,129,134,137,147,155,164,168,183,188,191,194,198,201,208,211,215,222,225,228,232,235,252,255,258,262,269,272,275,279,282,285,289,292,296,299],[95,96,97],"p",{},"I'd been toying with the idea of a golf simulator studio: a couple of bays, open around the clock, with nobody at the front desk. It's an early maybe, but it raised a UX question I wanted to work through. How do you let people book, pay, cancel and get through the door with no staff to help?",[95,99,100],{},"So I built the booking system for a made-up studio, Back Porch Golf Co. Most of my work has been on the front end, and I wanted a real Laravel project with real business rules instead of a todo app. The rules come from my own rough plan: $35 an hour per bay, $8 an hour for each extra player, 5% amusement tax, and free cancellation up to 24 hours before.",[95,102,103],{},"It's a demo. Stripe runs in test mode, and the studio doesn't exist.",[105,106,108],"h2",{"id":107},"what-it-does","What it does",[95,110,111,112,116],{},"A visitor lands on a short marketing page (how it works, pricing, FAQ) and goes to ",[113,114,115],"strong",{},"Book a bay",". The booking page is a day grid with one column per bay and a row every 30 minutes, covering the next 14 days. Existing bookings show as Booked, In progress or Complete, without customer details. A line marks the current time.",[118,119],"case-figure",{"alt":120,"caption":121,"src":122},"The Book a bay page: a row of day buttons for the next two weeks, then a grid with columns for Bay 1 and Bay 2, an amber in-progress block, dark green booked blocks, a pale complete block and a rust line marking 12:28 PM","The day grid. Amber is in progress, green is booked, pale is complete, and the rust line is now.","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fgrid.jpg",[95,124,125],{},"I modeled the flow on real sim studio booking pages. The day-grid idea came from one of them; the styling is my own.",[95,127,128],{},"Clicking an open slot opens a drawer. You choose 1 to 4 hours, capped by the next booking on that bay, and 1 to 4 players. Then you enter your name, email and phone, and see the price update as you go. Two hours for three players comes to $70 for the bay plus $32 for the extra players, $5.10 tax, $107.10 in total.",[118,130],{"alt":131,"caption":132,"src":133},"The booking drawer open over the grid for Bay 2, 3:00 to 5:00 PM: length set to 2 hours, 3 players, name, email and phone filled in, and a price breakdown totaling $107.10","The drawer. The dashed block on the grid shows the selection, and the total updates as you choose.","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fdrawer.jpg",[95,135,136],{},"From there you pay on Stripe Checkout and land on a \"You're booked!\" page with your door code and a private link to manage the booking. The same details arrive by email. Cancelling 24 or more hours ahead refunds you in full through Stripe. Inside 24 hours the cancellation is refused, with an explanation.",[138,139],"figure-pair",{"caption":140,"first":141,"first-alt":142,"first-label":143,"second":144,"second-alt":145,"second-label":146},"Paying in Stripe's sandbox, then the confirmation with the door code, issued once the webhook arrives.","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fcheckout.jpg","Stripe Checkout with a Sandbox badge, showing $107.10 for Bay 2 on Wednesday, November 18 at 3:00 PM, 2 hours, 3 players, plus amusement tax","Stripe Checkout (sandbox)","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fconfirmation.jpg","The You're booked page with door code 304413, valid from 2:50 PM, and a summary of Bay 2, 3:00 to 5:00 PM, $107.10 paid","Confirmation",[95,148,149,150,154],{},"There's no real door, so there's a pretend keypad at ",[151,152,153],"code",{},"\u002Fdoor",". Enter a code and a time, and it unlocks from 10 minutes before the booking until it ends, and stays locked any other time.",[138,156],{"caption":157,"first":158,"first-alt":159,"first-label":160,"second":161,"second-alt":162,"second-label":163},"The same code during the booking and two hours after it ends.","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fdoor-unlocked.jpg","Door keypad demo showing code 304413 on a green display with the message Unlocked. Enjoy Bay 2! at 3:30 PM","3:30 PM · unlocked","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fdoor-denied.jpg","The same keypad with the code on a rust display and the message Denied. That code is not active at this time, at 7:00 PM","7:00 PM · denied",[105,165,167],{"id":166},"picking-a-look","Picking a look",[95,169,170,171,174,175,178,179,182],{},"Before building the real interface, I prototyped three throwaway design directions on a single route, switched by a URL parameter: ",[113,172,173],{},"Warm porch",", ",[113,176,177],{},"Retro clubhouse"," and ",[113,180,181],{},"Clean modern",". Each one had a landing hero and the booking grid, so I could judge them on the screen that matters most rather than on a mood board.",[118,184],{"alt":185,"caption":186,"src":187},"Three prototype pages side by side. Warm porch: cream page, serif headline and a wooden sign. Retro clubhouse: orange sunburst, chunky italic logo and pill-shaped bookings. Clean modern: white page, black sans-serif headline and gray grid","The three throwaway directions, each with a landing hero and the booking grid.","\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fprototypes.jpg",[95,189,190],{},"Warm porch won. It uses cream and linen backgrounds, forest green as the main accent, and wood browns. Amber marks bookings in progress and your own selection, and a rust line shows the current time. Headings are set in Fraunces and body text in Inter. It felt like somewhere you'd want to spend a Tuesday night, and the grid stayed easy to scan. Once I'd chosen, I took the prototype off the main branch and kept it on its own branch.",[95,192,193],{},"The words were part of the design too. The project has a short glossary (Bay, Booking, Hold, Door code, Access window), and the code and the interface use the same terms. It's \"Book a bay\", never \"tee time\": on a course, a tee time is a start time, and here you're booking a block of hours.",[105,195,197],{"id":196},"no-double-bookings","No double bookings",[95,199,200],{},"The one thing a booking system can't get wrong is selling the same slot twice. Creating a booking runs inside a database transaction that locks the bay's row before checking for overlaps. If two people click the same slot at the same moment, the second request waits for the first to finish, sees the slot is taken and gets turned away. There's a test for exactly that.",[95,202,203,204,207],{},"While someone is on Stripe's payment page, their booking is ",[113,205,206],{},"Held"," and blocks the slot. Stripe Checkout sessions must last at least 30 minutes, so the hold lasts 30 minutes plus 2 minutes of grace, and the Stripe session is set to expire at 31. The payment page always closes before the hold runs out.",[95,209,210],{},"A hold that runs out frees the slot straight away, because the overlap check simply ignores expired holds. No timer or background job has to run for the slot to open again, which mattered later for the hosting bill.",[105,212,214],{"id":213},"stripe-confirms-the-booking-not-the-browser","Stripe confirms the booking, not the browser",[95,216,217,218,221],{},"The redirect back from Stripe isn't proof that anyone paid; people close tabs and lose connections. A booking is confirmed only when Stripe's signed ",[151,219,220],{},"checkout.session.completed"," webhook arrives. That's what assigns the door code and sends the email.",[95,223,224],{},"The webhook is idempotent, so if Stripe sends the same event twice, nothing happens the second time. If a payment arrives for a slot that was lost in the meantime (say the hold ran out mid-payment), the customer is refunded automatically and the booking is marked Expired. If a visitor backs out of checkout, the hold is released and the Stripe session is closed right away, so the slot doesn't sit blocked for half an hour.",[95,226,227],{},"The server is also the only authority on price. The drawer's live total is a preview. The server works out the price again before creating the Stripe session, and money is integer cents everywhere.",[105,229,231],{"id":230},"time-is-hard-so-i-handled-it-on-purpose","Time is hard, so I handled it on purpose",[95,233,234],{},"A 24\u002F7 studio means bookings at 11pm that run until 2am, and a calendar that has to survive daylight saving time.",[236,237,238,242,249],"ul",{},[239,240,241],"li",{},"Times are stored in UTC and shown in the studio's timezone.",[239,243,244,245,248],{},"A ",[113,246,247],{},"studio day"," runs from local midnight to midnight, so the grid has 23 or 25 hours on the days the clocks change. Nothing assumes 48 half-hour rows.",[239,250,251],{},"A booking that crosses midnight shows on both days, labeled \"from last night\" or \"runs past midnight\".",[95,253,254],{},"Door codes depend on time too. Each code is 6 digits, and it's unique among bookings whose access windows overlap, so a code can never open the door for the wrong person.",[95,256,257],{},"Customers never create accounts, but their bookings stay private. The confirmation, manage and cancel pages use Laravel's signed URLs, so only someone with the link can see or cancel a booking.",[105,259,261],{"id":260},"testing-payments-without-stripe","Testing payments without Stripe",[95,263,264,265,268],{},"Stripe sits behind a small ",[151,266,267],{},"PaymentGateway"," interface with two implementations: the real Stripe one and a fake. That one seam lets the test suite run the whole flow (hold, checkout, webhook, refund) without a network call, including the case where Stripe is down. Webhook tests sign their payloads the same way Stripe does, so the signature check gets tested too.",[95,270,271],{},"The suite has 44 tests with 142 assertions. PHPStan runs at level 7 with no ignored errors, and GitHub Actions runs linting, type checks, static analysis and tests on every push.",[95,273,274],{},"I also ran it for real against Stripe's sandbox: paid with the test card and got a confirmed booking, a door code and an email. Cancelling sent a $45.15 refund through Stripe, and backing out of checkout released the hold and expired the session.",[105,276,278],{"id":277},"shipping-it-for-about-5-a-month","Shipping it for about $5 a month",[95,280,281],{},"The demo runs on Laravel Cloud, which bills compute and the database by the second and can scale both to zero when nobody's using them. That changed one decision.",[95,283,284],{},"My first version swept expired holds every 5 minutes. On a scale-to-zero host, a job that runs every 5 minutes keeps the app and database awake around the clock. Because expired holds already stop blocking slots on their own, the sweep was only tidying up statuses, so I moved it to once a day. A weekly job reseeds the fake bookings so the grid always looks busy. The rest of the time the demo sleeps, and it costs about $5 a month.",[105,286,288],{"id":287},"how-i-worked","How I worked",[95,290,291],{},"I built this with Claude Code as a pair programmer. I set the domain rules and the vocabulary, made the calls on the hard parts (the locking, the hold timing, where the payment seam should go) and reviewed everything that went in. Claude Code drafted much of the Laravel code and the tests, and prototyped the three design directions so I could compare real screens instead of guessing. It made a stack I hadn't shipped before quick to learn, and I still understood every line.",[105,293,295],{"id":294},"whats-next","What's next",[95,297,298],{},"It covers the core loop and stops there. Not built yet: customer accounts, memberships and members-only hours, an admin dashboard, club rentals, promo codes, SMS reminders, real email delivery (it writes emails to a log for now) and real door hardware.",[95,300,301,302,308,309,314],{},"The code is on ",[303,304,23],"a",{"href":305,"rel":306},"https:\u002F\u002Fgithub.com\u002Ftevdevelops\u002Fback-porch-golf",[307],"nofollow",". To try the ",[303,310,313],{"href":311,"rel":312},"https:\u002F\u002Fback-porch-golf-production-wan3nh.laravel.cloud",[307],"live demo",", pay with Stripe's test card, 4242 4242 4242 4242.",{"title":316,"searchDepth":317,"depth":317,"links":318},"",2,[319,320,321,322,323,324,325,326,327],{"id":107,"depth":317,"text":108},{"id":166,"depth":317,"text":167},{"id":196,"depth":317,"text":197},{"id":213,"depth":317,"text":214},{"id":230,"depth":317,"text":231},{"id":260,"depth":317,"text":261},{"id":277,"depth":317,"text":278},{"id":287,"depth":317,"text":288},{"id":294,"depth":317,"text":295},"\u002Fmedia\u002Fwork\u002Fback-porch-golf\u002Fcover.jpg","md",true,{},"Personal",[334,335,336],"No double bookings, even when two people click the same slot at once","Stripe's signed webhook confirms every booking, and late payments are refunded automatically","44 tests cover the full payment flow with no network calls","\u002Fwork\u002Fback-porch-golf","Nov 2026","Designer & developer (solo)",{"title":90,"description":97},[342,343,344,345,60,346,347,348,349,77],"Laravel 13","PHP 8.4","Inertia","Vue 3","Tailwind CSS 4","Stripe Checkout","Pest","Laravel Cloud","published","work\u002Fback-porch-golf","A booking site for a made-up golf simulator studio that's open 24\u002F7 with no staff. Pick a bay on a live day grid, pay through Stripe and get a door code that only works during your booking. A small product built end to end in Laravel and Vue, from landing page to payments, refunds, door access and deployment.","HLD9ckE5hYyFDwZp7iDXrYK_6n0bNPtLdo6GPSx2m4E",[355,360],{"title":356,"path":357,"stem":358,"org":359,"children":-1},"Finishing Brad's Deals' move to Nuxt","\u002Fwork\u002Fbrads-deals","work\u002Fbrads-deals","Brad's Deals",{"title":361,"path":362,"stem":363,"org":364,"children":-1},"Aurora Anguilla, built in two months","\u002Fwork\u002Faurora-anguilla","work\u002Faurora-anguilla","King & Partners",1795023904098]