menu should point to /localhost instead of /localhost/public. This is wrong. You should map Your localhost domain to …app_path/public/ – if You are mapping to the roof of application You are exposing .env and rest of folders and files.
Please read articles:
IF You are using XAMPP + WINDOWS
If You are using php artisan serve
Then You should access the application via localhost:8000
If You still for some reason want to use /localhost/public – You need to update BAP_MenuManager.js located in menu manager module. Update ajax url to /public/… after update use php artisan module:publish to publish assets in public folder. Then update menu url’s.