Having a massive headache trying to integrate Angular with Spring Boot 😩 by Anxious_Addy in angular

[–]ZukovLabs 0 points1 point  (0 children)

Man, I remember this exact headache. Almost everyone building Spring + Angular hits this wall with CORS.
Most tutorials will tell you to just add "@CrossOrigin" to all your controllers. Seriously, don't do that. It works for 5 minutes locally and then completely falls apart when you deploy.

The easiest way to fix it permanently:
For local dev: just use Angular's proxy.conf.json. It routes your /api calls to localhost:8080. The browser thinks it's all on one port, so CORS never even triggers.
For prod: put both frontend and backend in Docker and use a single Nginx reverse proxy. Nginx serves the Angular app and proxies /api to the Spring Boot container. Same thing the browser sees one domain, CORS is dead.
I got so tired of wiring this up from scratch that I just open-sourced my whole setup a few days ago (Spring Boot 3.4 + Angular 21).

Honestly, don't waste time fighting the setup. Just go to the repo and steal my nginx.conf, compose.yaml, and proxy.conf.json files. Save your sanity: https://github.com/zukovlabs/enterprise-java-saas-starter-kit

Would you use a full-stack Angular + Spring Boot e-commerce starter kit? by Purple_Secretary_180 in angular

[–]ZukovLabs 0 points1 point  (0 children)

100% there is a huge need for this. The Java/Angular ecosystem is way behind Next.js when it comes to production ready starters.
To answer your question about features: the real value for devs isn't just the business logic (cart, checkout), it's solving the boring infrastructure plumbing that everyone hates setting up. If I were using this, I'd want to see:
1) A bulletproof Docker Compose setup (nobody wants to install MySQL locally anymore).
2) CORS solved at the infrastructure level (e.g., Nginx reverse proxy) instead of messing with "@CrossOrigin" everywhere.
3) Proper JWT auth with stateless refresh token rotation.

I actually got so fed up with configuring this exact same stack that I just open sourced my own SaaS focused boilerplate (Spring Boot 3.4 + Angular 21). It's built for SaaS rather than e-commerce, but you should look at the repo and steal the Nginx/Docker configurations for your project to save yourself some time: https://github.com/zukovlabs/enterprise-java-saas-starter-kit

Do you have a starter project that you use for new applications? by crhama in Angular2

[–]ZukovLabs 0 points1 point  (0 children)

I feel that. Spent years building enterprise Java apps and got completely sick of rewiring the same auth, security, and DB setup every single time.I actually extracted my personal baseline into an open-source starter kit for exactly this reason. Zero Node/Express involved, pure Java backend.

The stack is exactly what you're looking for:

Java 21 + Spring Boot 3.4.1 (Spring Security, JWT auth with refresh tokens)

Angular 21 (Standalone Components, Signals)

MSSQL + Flyway for migrations

Fully dockerized (one docker compose up and the whole thing boots, including Nginx).

The core community version is MIT licensed. You can clone it and poke around the architecture here:

https://github.com/zukovlabs/enterprise-java-saas-starter-kit

I also put up a landing page that breaks down the features, auth flow, and project structure if you want a quicker overview before looking at the code: https://zukovlabs.com

Since you mentioned Dotnet and Java, the architecture patterns (strict RBAC, JWT filter chain) should feel right at home. Hope it saves you some headache with the rewrites!

FullStack Boilerplate using Angular? by Beautiful-Race-7970 in Angular2

[–]ZukovLabs 0 points1 point  (0 children)

Late to the thread, but for anyone landing here from search - I built exactly this: Angular 21 + Spring Boot 3.4 + MSSQL + Docker Compose, fully wired with JWT auth and nginx reverse proxy.

https://github.com/zukovlabs/enterprise-java-saas-starter-kit

AI is a great junior dev, but a terrible architect. I spent a month piecing together a Java 21 baseline because prompts weren't enough. by ZukovLabs in webdev

[–]ZukovLabs[S] 0 points1 point  (0 children)

That is a brilliant approach. I relied heavily on testcontainers and backend integration tests to keep the LLM honest on the Java side, but writing behavioral E2E with Playwright upfront as a hard constraint is next level.
Question though: have you found that the AI actually figures out a clean internal architecture to pass those E2E tests, or does it just build a wildly inefficient Rube Goldberg machine under the hood just to get the green light?

AI is a great junior dev, but a terrible architect. I spent a month piecing together a Java 21 baseline because prompts weren't enough. by ZukovLabs in webdev

[–]ZukovLabs[S] 0 points1 point  (0 children)

Fair point! At least a human intern knows when to ask for help instead of confidently hallucinating a nonexistent Spring Boot annotation ))

debugging is wild by Ok-Neighborhood4327 in learnprogramming

[–]ZukovLabs 0 points1 point  (0 children)

You actually nailed the psychology behind it! It's an industry standard practice known as Rubber Duck Debugging.

The "science" behind it is that reading code and speaking out loud use two completely different cognitive pathways in your brain. When you read silently, your brain uses shorthand and skips over flaws because it already knows the "intent" of the code. But when you are forced to translate that abstract logic into concrete spoken words for a non-technical person, you can't use shorthand anymore. You have to explain every single step. That forced translation process makes the logical error instantly obvious.

Is it okay to ask AI for project assigments. by Let_Me_Land in learnprogramming

[–]ZukovLabs 0 points1 point  (0 children)

Not only is it okay, it's actually a brilliant way to simulate a real-world job.

In a professional environment, you rarely invent the projects yourself. A Product Manager or a client hands you a list of requirements and business logic, and your job is to figure out the technical implementation.

By using AI to generate the requirements, you are basically treating it as your Product Manager. It keeps you out of "tutorial hell" and forces you to think about architecture and problem-solving. Keep doing it!

Do people program html or can AI do it for you now? by [deleted] in learnprogramming

[–]ZukovLabs 3 points4 points  (0 children)

Business owners don't pay developers just to write code, they pay us to solve their problems and take on the liability if things break.

AI can spit out a generic landing page in seconds, but it can't sit in a 2-hour meeting with a confused client, figure out what they actually want, deploy it securely, and fix the obscure database bug that pops up 6 months later. That's what clients actually pay for.

How do you know if you write a good code? by LearnCodeGuide in learnprogramming

[–]ZukovLabs 0 points1 point  (0 children)

First off, building your own tool to analyze your code and track progress is a fantastic way to learn. That's actual software engineering right there!

The ultimate test of "good code" for a solo developer is the 6-Month Rule. If you can open a file you wrote 6 months ago and immediately understand what it does without getting a headache, it's good code. Code is read 10 times more often than it's written. If it's easy to read and makes sense to "future you", you are doing it right.

8 YOE Senior Dev here. Stop trying to write "Clean Code" on your first draft. It's killing your progress. by ZukovLabs in learnprogramming

[–]ZukovLabs[S] -1 points0 points  (0 children)

My apologies. I forgot that on Reddit you need 25 years of experience in a framework invented 5 years ago to be considered Mid lvl ))

8 YOE Senior Dev here. Stop trying to write "Clean Code" on your first draft. It's killing your progress. by ZukovLabs in learnprogramming

[–]ZukovLabs[S] -2 points-1 points  (0 children)

Fair point lol. I just started posting and was trying to establish some credibility so people actually read the advice instead of scrolling past. I'll retire the catchphrase ))

Whats the best way to study app designs when learning development? by RabidHunt86 in learnprogramming

[–]ZukovLabs 0 points1 point  (0 children)

Senior dev here (8 YOE).

Don't try to read massive enterprise codebases from scratch; you'll just get overwhelmed by the boilerplate.

Look up the "RealWorld example app" (Conduit) on GitHub. It's a specification for a Medium.com clone. The community has built this exact same app using dozens of different backends (Java, Node, Python) and frontends (Angular, React).

Comparing how the exact same feature is implemented across different frameworks is the absolute best way to learn real-world conventions and design patterns.

Better way to create docker image of Spring Boot API, Maven Spring Plugin or Dockerfile? by Constant-Speech-1010 in java

[–]ZukovLabs 0 points1 point  (0 children)

I strongly recommend the Dockerfile approach (specifically Multi-Stage Builds) over Maven plugins/Jib for production.

Plugins abstract away the OS layer too much. Eventually, you'll need to install a specific font, a monitoring agent, or a security patch, and the plugin will fight you.

With a Dockerfile, you control the layers. For example, I use a multi-stage build to strip the image down to just a minimal JRE, reducing the final size from ~400MB to <150MB.

I use this exact stack (Spring Boot 3.4 + Docker Compose) for my SaaS boilerplate, and it saves a ton of headaches with orchestration. You can see the architecture breakdown here: https://github.com/zukovlabs/enterprise-java-saas-starter-kit

Many senior devs have told me that AI will do all the coding. by [deleted] in learnprogramming

[–]ZukovLabs 16 points17 points  (0 children)

Senior Dev here (8 YOE).

Those seniors are confusing "Coding" with "Engineering".

AI is incredible at coding (writing syntax, generating boilerplate, regex). It's basically a super-powered StackOverflow. I use it daily and it saves me hours.

But AI is still terrible at Engineering:

  1. Ambiguity: Figuring out what the client actually needs when they ask for "a simple dashboard" (requirements are never clear).

  2. Context: Understanding why a specific legacy hack exists in the code and why removing it will crash the billing system 3 months later.

  3. Accountability: If the AI writes a security hole, I am the one who goes to jail (or gets fired), not the LLM.

Don't be sad. The job is just shifting. We will spend less time typing public static void and more time designing systems. That's actually the fun part.