Question: was stand by me based on a true story

Answer: No, Parts of the film were shot in Brownsville, Oregon, which stood in for the fictional town of Castle Rock. The town was selected for its small town, 1950s ambience. The town fondly remembers the making of the movie in June and July 1985, in which approximately 100 local residents were employed as extras, and since 2007 has held an annual Stand By Me Day each July which has drawn international attendees.