You have a lot to decide on.
I started small. A used 1k watt gas generator and some extension cords. With care, that 1k watt generator can run a window ac unit. So I could cool off the bedroom in the summer and get a good night's rest.
It may or may not run your fridge or freezer, getting a kill a watt will let you learn what you appliances need for running.
It would certainly charge up the smart phone and laptop and some other small rechargeable things, and do all of these at once.
I had propane for cooking and a percolator coffee pot to make coffee and in the winter I had propane for heat and kerosene for heat as well.
Sure a nice big whole house generator rules, it also might cost you 10k to 20k to get installed.
A bunch of batteries or something are cool, but they go bad over time and some need more upkeep than others but generally you do not want to just ignore a battery.
These days I am up to a much larger generator, still have the small one for little stuff. I learned that good extension cords help the generator do its job better.
I do have some batteries around as well. But I don't have anything that automatically kicks in. I personally don't want it because at my price level it is not to be trusted.