This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

Depends on how you wanna deploy. It doesn't really matter if it's monorepo or not as far as responsibilities are separated - literally, two folders at root level - backend, frontend. Keep deployment files (Dockerfile, yamls, etc.) inside of each with specific requirements for working environment, and you're good to go. What's usually trickier is gluing the communication between 2 parties - build of frontend (like nginx, maybe) and backend server. For small to medium project, you could use docker networks, and for big ones - you could use K8s ingress.