Entry level Mac Mini M4 (non M4 Pro model) with 16GB is more than enough for the sort of application you're describing. The only upgrade I would suggest, however, is to go for the 512GB rather than 256GB model. Trust me - you'll thank me later!
For the record, I have a number of Macs - an M1...