How can I get my apps back after deleting all data?
Well, when they say "all your data will get deleted" that means apps too.

You can go to the Mac App Store, click on the Purchases tab, and re-install your apps.