my app folder was deleted without my intention, is there any way to restore it, i have all my routing and Roles configuration in it i'm using Php storm if this has any relation with my problem
Open Project view, right click on the root directory of your project, Local History -> Show History. If you're lucky, the folder with all its contents will be there. If you're not, have fun restoring everything manually.
Start using a version control system, for crying out loud.