The show takes place in the fictional seaside town of Storybrooke , Maine , the residents of which are actually characters from various fairy tales that were transported to the " real world " town and robbed of their real memories by a powerful curse .