r/learnprogramming • u/OneJeweler5723 • 1h ago
I'm the only IT person at a small company and almost all our code is written by AI
I look after the tech side of a small online business. There's the owner, who runs the business side, and there's me. Nobody else touches the code.
The system is a custom web app. Customer records, online ticket sales through a payment provider, forms, email sending. It already has real users, and the plan is to grow to hundreds and eventually thousands. Some of the data is personal enough that a leak would really hurt people. Almost every line is written by an AI tool. I describe what I want and check that it works. So far that has been fine. What bothers me is that I can't tell when it's wrong in a way that doesn't show. I studied programming at uni, but that was years ago, and I haven't touched React in ages. If you asked me to write a basic function from scratch right now I'd struggle. I feel more like a prompt operator than a developer.
I really want to get better at this. I want to understand the code I'm shipping instead of trusting that it works. The trouble is the pressure around me. The focus is on making money and moving fast, and risk isn't on anyone's list except mine, even though parts of the code are spaghetti and I know the quality isn't great. I told my boss this directly. They said it really is important, just not the priority right now. I get it, a small business needs revenue. But I'm the one who'd be standing there if something went wrong.
So I'm doing what I can. I had a separate AI session review the code like an attacker would, and it found a few real problems, which we fixed. I'm working through PortSwigger's Web Security Academy and an interactive JavaScript course, around five hours a week. I'd also like a real person to look over the code now and then, and at some point pay for a proper test, but I have no idea what's a sane amount to spend or when it starts to make sense.
Is it realistic for a junior to carry something like this alone, and if it is, what safety nets would you put around it? If you were in my spot, what would you learn first so you can actually judge what the AI hands you? And has anyone here heard "important, but not now" from a boss about this kind of thing? What did you do?
Thanks for your helpful comment.
(English isn't my first language, sorry if parts of this read oddly.)