For backend, you won’t go wrong with something like c# .NET stack.
Personally id recommend building simple projects with both front and backend. You can still focus on backend but it will give you a feel of how a whole project hangs together. How to build APIs for the front end to call.
Whatever project you decide on building, definitely look at adding authentication and roles/scopes for APIs. It’s something I regularly see people struggle with