Question: was the movie shrek based on a book

Answer: Yes, The book served as the basis for the popular Shrek film series over a decade after its publication.