This simple loop will ensure that in a bash script the prompt will ask the user to enter something, if not or they leave empty, will required to enter text before it can go to the next line in the code:

while [[ $APP_ROUTE == "" ]]
do
  read -p "Enter the Route: " APP_ROUTE
  set -e
done