Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you... provide the prompts? Because I have a hard time believing this.

I have tried the hand holding approach with Cursor. It doesn't work for me. I have to constantly correct and over correct. Getting auth working sounds insane to me.



What exactly surprises you? You should try Gemini 2.5 Pro in Google AI Studio. Set the temperature to around 0.3, and in the system prompt, tell it to only edit exactly what you ask for and nothing else.

This model works really well. For example, simple things like [1], [2], and [3] can apparently be generated with just a couple of prompts.

[1] https://koreanrandom.com/en/games/through-the-space/

[2] https://koreanrandom.com/en/games/tanchiki/

[3] https://koreanrandom.com/en/games/sharik/

According to the author, these were made with Gemini 2.5 Pro without any manual coding by a human.

Cursor isn't as powerful as Gemini in AI Studio because AI Studio gives you full control over the model's settings and how it processes code.

Plus, the massive 1 million token context window is incredibly helpful for working with large codebases. You can use tools like code2prompt and repomix to feed all the necessary context into AI Studio from the clipboard for those projects.


I just got auth working with JWT through total vibecoding, using Claude+RooCode. Other bits of the app I needed a couple of tries, but auth worked immediately. I guess these models have seen express + node + JWT a million times.

I don't have access to the precise prompt, but I told it something like "only implement basic authentication based on JWT, using just email + password.", then asked it to add a simple registration form, then the password reset flow... step by step, but with little guidance.

At every prompt I review the changes on git, and commit.


I have had Claude Code build authentication before successfully, following a pattern approximately like this: https://harper.blog/2025/02/16/my-llm-codegen-workflow-atm/


Having just figured auth recently for an app I’m building, I’ll echo that sentiment. Maybe lovable has auth components pre-built and well integrated


Yes, it uses Supabase, doesn’t roll its own




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: