

I’m using my old desktop from 2010. There’s no such thing as a server that can “do it all”, but any computer from the last 10 years would probably be a fine place to start. The more you do, the more likely you’ll be to hit some sort of performance limit, and by that time you’ll know more about what you actually want.
In short, find old cheap/free hardware and start playing around.
The answer also depends on your level of experience and how much you want to learn doing this. You mentioned you haven’t done this before, but are you otherwise comfortable using computers and figuring things out? Are you familiar with Linux and/or the command line? In addition, are you hoping to tinker around and learn a lot from this, or are you more concerned with just setting it up so you can use it?
There are options for all levels of expertise and technical interest, but I recommend starting with any hardware you already have or can aquire for cheap/free (especially if you’re hoping to tinker and learn more). As another commenter suggested, finding an old desktop or laptop and putting a NAS operating system on it would be a great starting project. Then once you play around with it, you’ll know if/where you want to spend some cash on something better. If you don’t have old PCs laying around, check on whatever you use for local buy & sell listings, you can probably pick up something for pretty cheap.
If you’re mostly looking to play around and you don’t have any extra hardware, you can also try things out in a virtual machine (download VirtualBox), which will let you learn without any monetary investment.