It depends .. (frameworks/libs/langs) for enterprise stuff at work, we have our tech stack worked out, for freelance, it'll be what the customer wants or what I'd feel would be most maintainable. For infra, for both I'd use docker to run my apps and supporting services ... I've been really into the hashicorp stack, nomad + consul .. docker gives you a solid dev env and portability when going production