├── src ├── assets │ ├── .gitkeep │ └── no-poster.jpeg ├── app │ ├── app.component.scss │ ├── comment-form │ │ ├── comment-form.component.scss │ │ ├── comment-form.component.html │ │ └── comment-form.component.ts │ ├── customers-list │ │ ├── customers-list.component.scss │ │ ├── customers-list.component.html │ │ └── customers-list.component.ts │ ├── app.component.html │ ├── comment.ts │ ├── app.component.ts │ ├── movies-list │ │ ├── movies-list.component.scss │ │ ├── movies-list.component.html │ │ └── movies-list.component.ts │ ├── movie.ts │ ├── app-routing.module.ts │ ├── movie-details │ │ ├── movie-details.component.scss │ │ ├── movie-details.component.html │ │ └── movie-details.component.ts │ ├── app.module.ts │ └── graphql.module.ts ├── styles.scss ├── favicon.ico ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── main.ts ├── index.html └── polyfills.ts ├── realm-app ├── MovieCatalog │ ├── http_endpoints │ │ └── config.json │ ├── environments │ │ ├── qa.json │ │ ├── testing.json │ │ ├── development.json │ │ ├── no-environment.json │ │ └── production.json │ ├── auth │ │ ├── custom_user_data.json │ │ └── providers.json │ ├── sync │ │ └── config.json │ ├── data_sources │ │ └── mongodb-atlas │ │ │ ├── sample_mflix │ │ │ ├── movies │ │ │ │ ├── relationships.json │ │ │ │ ├── rules.json │ │ │ │ └── schema.json │ │ │ └── comments │ │ │ │ ├── relationships.json │ │ │ │ ├── rules.json │ │ │ │ └── schema.json │ │ │ └── config.json │ ├── graphql │ │ ├── config.json │ │ └── custom_resolvers │ │ │ └── query_CommentsOffset.json │ ├── functions │ │ ├── config.json │ │ └── loadCommentsOffset.js │ └── realm_config.json └── README.md ├── .vscode ├── extensions.json ├── launch.json └── tasks.json ├── .editorconfig ├── tsconfig.app.json ├── tsconfig.spec.json ├── .browserslistrc ├── .gitignore ├── tsconfig.json ├── package.json ├── karma.conf.js ├── README.md ├── angular.json └── LICENSE /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/comment-form/comment-form.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/customers-list/customers-list.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/http_endpoints/config.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/environments/qa.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": {} 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/environments/testing.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": {} 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/auth/custom_user_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/environments/development.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": {} 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/environments/no-environment.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": {} 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/environments/production.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": {} 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/sync/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "development_mode_enabled": false 3 | } 4 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/data_sources/mongodb-atlas/sample_mflix/movies/relationships.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /realm-app/MovieCatalog/graphql/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "use_natural_pluralization": true 3 | } 4 | -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
{{ movie.plot }}
21 |{{ movie.fullplot }}
30 | {{movie.year}} | {{ movie.rated || 'UNRATED' }} | {{ movie.runtime }} min 31 |
Comments
37 |38 | 39 |
{{ comment.text }}
43 |44 |