Skip to content

Instantly share code, notes, and snippets.

@xinnks
Created November 17, 2021 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xinnks/333590c9d379ee716eb7381581eff0f6 to your computer and use it in GitHub Desktop.
Save xinnks/333590c9d379ee716eb7381581eff0f6 to your computer and use it in GitHub Desktop.
Add demo movie data to the movies collection
Map(
[
{
"title": "Kansas City Confidential",
"year": "1952",
"runtime": 99,
"genre": "Crime, Drama, Film-Noir",
"plot": "A down-on-his-luck ex-G.I. finds himself framed for an armored car robbery. When he's finally released for lack of evidence, after having been worked-over by the police, he sets out to discover who set him up, and why. The trail leads him into Mexico and a web of hired thugs and a corrupt cop.",
"poster": "https://m.media-amazon.com/images/M/MV5BZjFkNmQ4ODUtZTI4MC00MWViLTkyODktMjE1ZTcxNmVmYmQ3XkEyXkFqcGdeQXVyMjUxODE0MDY@._V1_SX300.jpg"
},
{
"title": "The Deadly Companions",
"year": "1961",
"runtime": 93,
"genre": "Adventure, Western",
"plot": "The Civil War Yankee sergeant Yellowleg saves the cheater Turkey from hanging after a card game, and together with Turk's gunslinger buddy Billy Keplinger, they ride together to Gila City with the intention of heisting a bank. When other bandits rob a store, Yellowleg shoots at the outlaws and accidentally kills the son of the cabaret dancer Kit Tilden and the grieving woman decides to bury her son in the town of Siringo in Apache country where her husband is buried. Yellowleg Enlists Billy and Turkey to escort Kitty and the coffin through the dangerous land.",
"poster": "https://m.media-amazon.com/images/M/MV5BNjdkOWY5MjUtMTQyNi00NTJhLTgwNWQtNWY0MmZmZjk2ZDBiXkEyXkFqcGdeQXVyMjI4MjA5MzA@._V1_SX300.jpg"
},
{
"title": "The Animal Kingdom",
"year": "1932",
"runtime": 85,
"genre": "Comedy, Drama, Romance",
"plot": "Tom Collier has had a great relationship with Daisy, but when he decides to marry, it is not Daisy whom he asks, it is Cecelia. After the marriage, Tom is bored with the social scene and the obligations of his life. He publishes books that will sell, not books that he wants to write. Even worse, he has his old friend working as a butler and Cecelia wants him fired. When Tom tries to get back together with Daisy to renew the feelings that he once felt, Daisy turns the tables on him and leaves to protect both of them.",
"poster": "https://m.media-amazon.com/images/M/MV5BZmUwZDM4ODktMzk5Ni00ODI1LTk5YzctMDYyMGY2ZTVkMDU4L2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMTk2MzI2Ng@@._V1_SX300.jpg"
},
{
"title": "The Royal Bed",
"year": "1931",
"runtime": 75,
"genre": "Comedy",
"plot": "The hapless king of a small European nation must put up with a domineering queen, a daughter who wants to elope with her boyfriend, a peasant revolt and a scheming son who wants to be king himself and is plotting to take advantage of the situation.",
"poster": "https://m.media-amazon.com/images/M/MV5BMTcyOTE3MzEwNF5BMl5BanBnXkFtZTcwNzk1MjYyMQ@@._V1_SX300.jpg"
},
{
"title": "Nothing Sacred",
"year": "1937",
"runtime": 77,
"genre": "Comedy, Drama, Fantasy",
"plot": "Hazel Flagg of Warsaw, Vermont receives the news that her terminal case of radium poisoning from a workplace incident was a complete misdiagnosis with mixed emotions. She is happy not to be dying, but she, who has never traveled the world, was going to use the money paid to her by her factory to go to New York in style. She believes her dreams can still be realized when Wally Cook arrives in town. He is a New York reporter with the Morning Star newspaper. He believes that Hazel's valiant struggle concerning her impending death is just the type of story he needs to resurrect his name within reporting circles after a recent story he wrote led to scandal and a major demotion at the newspaper. He proposes to take Hazel to New York both to report on her story but also to provide her with a grand farewell to life. She accepts. Wally's story results in Hazel becoming the toast of New York. In spending time together, Wally and Hazel fall in love. Hazel not only has to figure out what to do about her relationship with Wally, but also how to conclude her now very public story, which all of New York expects will be a public and imminent death. Others, however, may conclude the story for her.",
"poster": "https://m.media-amazon.com/images/M/MV5BM2I3NzViYzgtMzdjYS00NjNkLWJhYWQtMjZhZTY4MGNmY2ZmXkEyXkFqcGdeQXVyMzg1ODEwNQ@@._V1_SX300.jpg"
}
],
Lambda("movie",
Create(
Collection("movies"), { data: Var("movie")}
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment