A city school has published a tale of mystery and magic for young readers by one of its teachers.