app and public dir