▲ 0 r/webdev

Long post: should I migrate an existing code base from Angular 19 to either Angular 20 or 21 and what are some pitfalls to expect

So to give some context, I am a backend developer and in some cases I can consume the endpoints for the front end in angular or react. I work at a company where I have a lot to prove (moving from an intern to a better position).

The company has a codebase that’s written in angular 19. I have been maintaining the code base, adding new features for the backend and consuming those new features in the Frontend. That has been the flow and it’s was going great. Now my boss wants a revamp of the frontend (in his words: to look more modern) and has tasked me with the rebuild. That’s fine and I don’t mind taking up the challenge even if it’s not exactly my strongest suit. Now here’s my question:

I order to make the ui have a “modern look” I wanted to go for the spartan-ng components with tailwind. The existing code base uses bootstrap so I want something that makes the customisation easy, but to still have the “modern look “ and from my research, spartan-ng provides that. But the problem is that the stable version of spartan-ng is only available from angular v21 and 22. I have tried to compromise by using tailwind and PrimeNG for the components with angular v19 but I’m not sure it’s sustainable since I have to write css ontop the primeNG components and I don’t know if that’s what I want. Now if I switch the angular to either v21 or 22 and try to replicate the way things are done from the existing code base:

  1. ⁠Is the approach even a good idea ( I need a human response. I’m not satisfied with the ai responses)

  2. ⁠Are the different versions completely different in how they work and will I be able to copy the existing code and paste into the new codebase with either v21 or 22 and it’ll work just fine?

I want to write little new functionality code as possible and focus on just the look of the ui, so that nothing has to change in the backend and the new frontend can still do the exact same thing the older one did, but with a newer look

Ps. I’m not so strong with angular that’s why I need advice from actual experts. Thanks in advance!!

reddit.com
u/MrGuam — 5 days ago
▲ 15 r/angular

Long post: should I migrate an existing code base from Angular 19 to either Angular 20 or 21 and what are some pitfalls to expect

So to give some context, I am a backend developer and in some cases I can consume the endpoints for the front end in angular or react. I work at a company where I have a lot to prove (moving from an intern to a better position).

The company has a codebase that’s written in angular 19. I have been maintaining the code base, adding new features for the backend and consuming those new features in the Frontend. That has been the flow and it’s was going great. Now my boss wants a revamp of the frontend (in his words: to look more modern) and has tasked me with the rebuild. That’s fine and I don’t mind taking up the challenge even if it’s not exactly my strongest suit. Now here’s my question:

I order to make the ui have a “modern look” I wanted to go for the spartan-ng components with tailwind. The existing code base uses bootstrap so I want something that makes the customisation easy, but to still have the “modern look “ and from my research, spartan-ng provides that. But the problem is that the stable version of spartan-ng is only available from angular v21 and 22. I have tried to compromise by using tailwind and PrimeNG for the components with angular v19 but I’m not sure it’s sustainable since I have to write css ontop the primeNG components and I don’t know if that’s what I want. Now if I switch the angular to either v21 or 22 and try to replicate the way things are done from the existing code base:

  1. Is the approach even a good idea ( I need a human response. I’m not satisfied with the ai responses)

  2. Are the different versions completely different in how they work and will I be able to copy the existing code and paste into the new codebase with either v21 or 22 and it’ll work just fine?

I want to write little new functionality code as possible and focus on just the look of the ui, so that nothing has to change in the backend and the new frontend can still do the exact same thing the older one did, but with a newer look

Ps. I’m not so strong with angular that’s why I need advice from actual experts. Thanks in advance!!

reddit.com
u/MrGuam — 5 days ago
▲ 41 r/resumesupport+2 crossposts

Rate my CV. Keep getting no call back

Open to any corrections that can make me more appealing to the eyes of recruiters. Also if you have any referrals, do not hesitate to push my way!

u/MrGuam — 1 month ago
▲ 7 r/docker

Do i need multiple containers of nginx and certbot for my vps

i have a vps and want to be able to host multiple web servers on the vps. the current setup i have is my nginx container right inside the docker compose file where my other web server services are and they communicate accross the same internal network. but from my research, it would be redundant and even counter productive having multiple containers of nginx and certbot in for every project. so just for a better guidance since i'm not well versed in docker, what is the best approach for this. should i have a single container for nginx and certbot that can communicate with any other container or just go ahead with the multiple nginx and certbot containers per project

reddit.com
u/MrGuam — 1 month ago
▲ 1 r/VPS

which ubuntu should i go for 26 or 24??

hi, first time using a vps and i just one today (ovh vps). tried doing the basic securing of the vps and ran into some trouble where i tried to set the ssh pub key but after manually setting the key in authorized_keys, i could not ssh into the server anymore. it just gets stuck without returning anything. or granting access. when i tried it but with loggin this was the log

debug1: Offering public key: /[home directore redacted for security reasons]/.ssh/id_ed25519 ED25519 SHA256:Cve1[redacted for security reasons] agent debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password debug1: Offering public key: [local machine root & host] ED25519 SHA256:TcH[redacted for security reasons] agent debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 60 debug1: Server accepts key: [local machine root & host] ED25519 SHA256:TcH[redacted for security reasons] agent debug3: sign_and_send_pubkey: using publickey-hostbound-v00@openssh.com with ED25519 SHA256:TcH[redacted for security reasons]debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:TcH[redacted for security reasons]

i'm not sure what the error is and i've tried debugging in rescue mode but just couldnt work. so i want to reinstall the vps from ovh console. but now i'm not sure which to choose. the first time it came with ubuntu 26, but i'm thinking 24 might not give me the issue this one just gave me.

i may not explain things properly, thanks for your assistance in advance!

reddit.com
u/MrGuam — 2 months ago

How does Spotify keep track of now playing song between devices

What’s the systems design behind Spotify’s now playing sync between devices and it can resume the song from where it was on the other device ??

reddit.com
u/MrGuam — 2 months ago

How does Spotify keep track of now playing song between devices

What’s the systems design behind Spotify’s now playing sync between devices and it can resume the song from where it was on the other device ??

reddit.com
u/MrGuam — 2 months ago

I need help migrating a MYSQL database to Postgres

I have been handed a project that uses mysql and the db already has some data that cant be lost. i want to migrate the database to postgres because i'm more comfortable working with mysql and it doesn't have some annoying nuances. i have a dump file from the db and i have explored a lot of options like using pgloader, but pgloader doesnt work with this error

2026-06-30T15:59:44.235006Z ERROR mysql: Failed to connect to mysql at "localhost" (port 3306) as user "pgloader": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled. (pgloader is a user i created just to by pass the caching_sha2_password issue ).

i have tried to manually modify the dump sql file and alter all the conflicts that may arise from things like datetime, bigint, enums and the id's not incrementing from the max id etc. i'm pretty sure there's going to be a bug and i need a better way to achieve this. Are there any services like pgloader that can make this easier. thanks in advance!

Edit: I found a solution with pgloader v4.0.0 and it worked by creating a migration.load file to specify the type casting I wanted etc. and running it as specified in the docs

reddit.com
u/MrGuam — 2 months ago
▲ 5 r/docker

trying to set up a scheduled PostgresDB backup inside a docker container

i want to set up a cron job to perform scheduled backups of my postgresdb in my docker container. what is the best way to go about it? do i use docker exec to achieve this?

reddit.com
u/MrGuam — 2 months ago
▲ 5 r/webdev

Best way to get analytics data in Express js

not sure i'm explaining it well, but i want to get analytics data when a link is clicked in Express js. i'm currently using express-useragent middleware, but is there a better way to get more precise analytics data like location and language etc?

reddit.com
u/MrGuam — 2 months ago
▲ 8 r/docker

New to using docker, can i use the same docker compose file for dev and prod?

Hi, new to using docker and i keep failing to understand how this should work. AI is not giving me the type of answer thats convincing enough so i need a form of human intervention.

i'm trying to set use docker for my small project. mostly for learning purposes, but intend to also have it hosted on a vps later.

now, from the documentation on the official docker webstie, they seem to be mixing both dev and prod in the same file. is this the right approach? my node app runs fine locally on my device, but i want to move it into a container. the section where there's " volumes" it has the postgres volume and others but not in the one for dev. AI suggested a docker compose override file, but i dont know if thats the best way of going about it. also i want to use nginx, rabbitmq (not installed yet) and redis (locally installed on my fedora) for the project, but inside the docker container.

pardon my question being everywhere but it's all jumbled up in my head and i am not seeing any youtube video talking about this particular situation (i also dont want to have to sit through 1h+ tutorial). i want to learn it as i build. please any help would be greatly appreciated, thx!

reddit.com
u/MrGuam — 3 months ago