if you make a simple backend thing, pick up rail and you're done, but you're essentially building something that's a solved problem.
The frontend equivalent is dropping a script tag on a page and uploading it by FTP.
But there's a reason backend communities accepted devops long before frontend. Between all of the various BE platforms, all with their own dependency management intricacy, all the various databases, big data stores, queues, streams, object stores, cache systems, containers (docker, VMs, etc), the OS (for FE you can just drop your stuff on S3 and stick a CDN in front and it will scale to near infinity...try to scale your rails app like that for giggles).
BE is 100x worse.