Understand the architecture, then develop the parts of your program in a modular fashion, chunk it down into its individual parts, use chatgpt to develop the parts and then fit it all together once done.