I Built and Launched a React Project Using AI in 7 Days — Here’s Everything That Went Right and…
From the publisher’s feed, collected in the ZeroLabs newsroom.
I Built and Launched a React Project Using AI in 7 Days — Here’s Everything That Went Right and WrongA real account of shipping a side project under pressure, with AI as a co-pilot and occasional saboteur.Seven days. One React app. AI doing roughly 60% of the typing.That was the deal I made with myself sometime in late April, sitting at my desk at 11 PM, slightly unhinged from too much coffee and too many half-finished side projects collecting dust in my GitHub graveyard.I had built things with AI assistance before — a component here, a utility function there. But I had never committed to using it as the primary development tool from concept to deployment. I wanted to know what that actually felt like. Not the curated Twitter version where someone posts a screenshot of a finished product with “built this in a weekend with AI 🚀” — the real version, including the 2 AM moments where you’re questioning every decision you’ve ever made.So here it is. The unfiltered account.The Rules I Set for MyselfTo keep this from becoming a free-for-all, I made a few ground rules.First, every major piece of code — components, hooks, utility functions — had to start as an AI prompt. I wasn’t allowed to just open a blank file and start typing from memory. Second, I had to ship something real. Not a portfolio piece, not a “concept.” Something with a URL that other people could actually use. Third, I would document what broke, what AI got wrong, and how much time I spent fixing AI-generated code versus writing my own.The project I chose was a focused productivity tool — a daily journaling app with mood tracking. Simple enough to be buildable in a week. Complex enough to have real UI decisions, API integration (I used OpenAI’s API for a basic sentiment analysis layer), and actual state management challenges.Why AI? Honestly, I was partly curious, partly lazy about boilerplate, and partly tired of pretending the industry wasn’t changing. If AI tools were going to become a serious part of how developers work, I wanted to actually stress-test that in a real project — not just type “fix my code” into a chat window.Day 1: The Planning TrapI spent Day 1 mostly talking to Claude and ChatGPT about architecture, and I want to be honest: this is where I almost lost the week.AI is very enthusiastic about architecture. I asked it to help me plan the app, and within minutes I had a beautiful, elaborate system involving Redux Toolkit, React Query, a custom hook abstraction layer, a service layer, and three different util folders. It was clean. It was thorough. It was completely overkill for a journaling app.I almost followed it. The whole plan looked so coherent on the screen.What saved me was an old rule from a senior dev I used to work with: if you can explain your state management to a non-developer in one sentence, you’re probably fine. If you can’t, you’ve over-engineered it. I scrapped the plan, went back to basics — useState, useEffect, localStorage for persistence, and a single API call to OpenAI. Done.Lesson from Day 1: AI’s default instinct for architecture skews toward enterprise-scale solutions, even when you’re building something one person will use.Day 2: The Setup Was Shockingly SmoothDay 2 went almost suspiciously well.I used AI to scaffold the whole project — Vite setup, folder structure, routing with React Router, a basic Tailwind config, and the initial component skeleton. Tasks that would’ve taken me a couple of hours of deciding between options and reading documentation took maybe forty minutes.The AI-generated useJournalEntries hook was actually clean. Not perfect — it had one unnecessary useEffect dependency — but structurally solid. I used it almost as-is.There’s a version of this article where I just write “Day 2 was great” and move on, but I want to be specific about why it was great: AI is genuinely excellent at setup tasks where the output is mostly conventional and the patterns are well-established. Vite configs, ESLint rules, folder conventions — it’s done these thousands of times. It doesn’t overthink them.Day 3: Core Features and the First Real ProblemDay 3 was building the actual journal entry flow — creating entries, saving them, displaying them in a timeline, and tagging moods.This is where I hit the first real wall.I asked AI to help me build a mood selector component. It gave me something functional, but it had a subtle bug: the selected mood state wasn’t persisting correctly when the user navigated away and came back to an entry. The component was being remounted rather than re-rendered, and the state was resetting.The AI had defined a sub-component inside the parent component’s render function. If you’ve been in React long enough, you know exactly what that does — every re-render creates a new component identity, React unmounts the old one, mounts the new one, state gone.What made this annoying wasn’t that the bug existed. It was that the AI-generated code looked correct at a glance. No obvious red flags. You had to actually know React’s reconciliation behavior to catch it. I spent almost two hours hunting it before I saw it.Day 4: UI Work and the Confidence ProblemBy Day 4, I was building out the UI — the entry editor, the mood history chart (I used Recharts), and the general layout.AI was helpful here in ways I didn’t expect. It suggested a color palette that actually worked. It helped me write cleaner Tailwind class combinations. When I described the visual feel I wanted — “minimal, like a physical notebook, not a SaaS dashboard” — it gave me a component that was about 70% of the way there.But it also had a confidence problem.Every suggestion came with the same level of certainty, whether it was correct or not. When I asked it to help me pick between two CSS approaches for the timeline layout, it recommended one with complete authority. I used it. Then I realized it had a scroll behavior issue on mobile that was pretty obvious with five minutes of testing. When I pointed this out, the AI immediately agreed and suggested a fix — which was fine, but it made me realize: it had been just as confident the first time around.AI doesn’t have a “I’m not sure about this one” mode. Everything arrives with the same declarative tone. You have to learn to treat its certainty as a style of communication, not a signal of accuracy.Day 5: Debugging Day (Mostly Debugging AI)I had optimistically labeled Day 5 as “polish day” in my original plan. It was not polish day. It was debugging day.Here’s a partial list of what I fixed:The OpenAI sentiment analysis integration kept throwing CORS errors in development — the AI had given me the API call structure but hadn’t flagged that I’d need a proxy or a backend function for anything hitting OpenAI directly from the browser. I ended up spending three hours building a minimal Express server I hadn’t planned for, just to handle one API route.The Recharts mood graph was using a data format the AI had confidently given me, but the CartesianGrid component was rendering blank because the data shape was wrong. The AI had hallucinated a prop structure that doesn't exist in Recharts v2. I found this only by reading the actual Recharts documentation — something I should have done immediately instead of trusting the AI's example.That’s the thing nobody tells you: AI’s knowledge of third-party libraries is frozen in time and occasionally just wrong. Not wrong in a big obvious way. Wrong in a subtle “this prop exists in v1 but was renamed in v2” way. The confidence stays the same. The accuracy doesn’t.Day 6: Getting It Ready to ShipDay 6 was environment variables, build config, and deployment prep.I used Vercel, which is almost frictionless at this point — AI wasn’t even necessary here, the platform handles most of it. But I did use AI to help me write the README, and that was genuinely useful. I gave it a rough outline of what the app did and asked it to write something honest, not marketing-y. After one edit pass, it was solid.I also used AI to generate the .env.example file and audit my code for any hardcoded values. It caught two. I would have missed them in a manual scan.The build itself threw one TypeScript error I hadn’t seen in dev. The AI fixed it correctly and instantly. No drama. This is where AI genuinely earns its place — fast, confident fixes for specific, well-scoped problems.Day 7: Launch Day, Which Was Quieter Than ExpectedThe app went live around 2 PM.I posted it on a couple of developer forums, shared it with some friends, and sent it to a few people who I knew used journaling apps. The response was…muted. A few kind replies. Some genuine feedback about the UI. Nobody told me it was life-changing.This was probably the most realistic part of the whole experiment. Shipping something in seven days, even with AI help, doesn’t change what happens after you ship. Distribution is still the hard part. Building is the part AI can accelerate. Getting people to care is entirely on you.What AI Was Surprisingly Good AtBoilerplate and scaffolding — genuinely impressive. I would not go back to doing this manually.Writing utility functions for specific, well-described tasks. “Write a function that takes a list of journal entries and groups them by date” produced correct, clean code on the first try, every time.Debugging with full context. When I pasted an error message plus the relevant component, the AI’s diagnosis was right more often than not.Code reviews on small, isolated chunks. It caught two missing null checks I had overlooked.What AI Got Completely WrongHallucinated library APIs. This happened at least four times across the week. The Recharts issue was the worst, but there were smaller ones too — a date-fns function that didn't exist, a Tailwind utility class it invented.Architectural suggestions for simple problems. If you ask AI a simple question, it sometimes gives you a complex answer because complexity sounds more impressive.Anything involving browser security. CORS, Content Security Policy, secure storage of API keys in a frontend context — these require actual understanding of the security model, and AI’s suggestions here were often naive or incomplete.Understanding your codebase. When my code had specific patterns or naming conventions, the AI kept defaulting back to its own patterns. You have to constantly re-contextualize it.The Biggest Mistake I MadeI trusted the first architectural suggestion on Day 1 for about forty minutes before scrapping it.But the actual biggest mistake was subtler: I stopped reading documentation.When AI gives you code, it’s tempting to run it, see it work, and move on. I did this several times on Day 3 and Day 4. The result was a codebase with a few components I didn’t fully understand — code that worked until it didn’t, and then was hard to debug because I’d never really read it.By Day 5, I was paying the interest on that debt. Two of the bugs I spent the most time fixing were in code I had accepted without properly reading.The rule should be: AI can write the first draft, but you have to understand every line before it goes into your codebase. I violated that rule in small ways all week, and those violations clustered into a rough Day 5.What I Would Do Differently Next TimeStart with a one-sentence product description and make myself stick to it. The scope creep temptation is real when AI can generate components so quickly.Read the documentation for every third-party library before using AI to generate code for it. Even ten minutes of docs reading would have saved me hours on Day 5.Build a tiny throwaway prototype on Day 1 instead of spending a full day on planning. Some questions about architecture only reveal themselves when you’ve written a hundred lines of code.Use AI more aggressively for the boring parts — documentation, tests, README, .gitignore, accessibility audits. I underused it here and overused it in the parts where my own judgment mattered more.Was the 7-Day Challenge Worth It?Yes. With one caveat.It’s worth it if you go in clear-eyed about what AI is: a fast, confident, sometimes-wrong collaborator that’s excellent at certain categories of tasks and genuinely unreliable at others. If you treat it as an oracle, you’ll build something fragile and spend Day 5 confused about why. If you treat it as a junior developer who types very fast and occasionally makes things up, you’ll supervise it appropriately and get real leverage.The app shipped. It wasn’t my best work. It was functional, and it took seven days, and I learned things I couldn’t have learned by just reading about AI-assisted development.Final ThoughtsThere’s a version of this article that ends with “AI is the future and you should embrace it.” There’s another version that ends with “AI-generated code is a trap and you’ll regret every line.”Both of those framings are wrong, and I think both are popular because they’re simple.What I actually came away with is something more boring and more useful: AI changes the texture of development work. The slow parts get faster. The parts that require judgment — architecture, debugging complex interactions, understanding what you’re building and why — those don’t get faster. They just get easier to ignore until they become expensive.The developers who will use AI well are the ones who know which parts of their work require judgment, and protect that judgment rather than delegating it away.That’s not a motivational note to end on. But it’s the truest thing I learned in seven days.If you’ve done a similar challenge or have strong opinions about AI in development workflows, I’d genuinely like to hear about it in the comments. Especially if your Day 5 was worse than mine.I Built and Launched a React Project Using AI in 7 Days — Here’s Everything That Went Right and… was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.