{"id":16487629,"url":"https://github.com/saeris/tmdb-api","last_synced_at":"2025-08-01T22:33:16.423Z","repository":{"id":41782110,"uuid":"143595022","full_name":"Saeris/tmdb-api","owner":"Saeris","description":"🎬 A Serverless GraphQL API built on top of TheMovieDB using Apollo Server","archived":false,"fork":false,"pushed_at":"2023-01-05T19:45:09.000Z","size":66643,"stargazers_count":20,"open_issues_count":15,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-22T22:15:11.694Z","etag":null,"topics":["api","apollo-server","aws-lambda","graphql","netlify-functions","serverless","the-movie-db","typescript"],"latest_commit_sha":null,"homepage":"https://tmdb-api.saeris.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saeris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-05T08:11:42.000Z","updated_at":"2023-02-26T12:42:12.000Z","dependencies_parsed_at":"2023-02-04T13:01:15.416Z","dependency_job_id":null,"html_url":"https://github.com/Saeris/tmdb-api","commit_stats":null,"previous_names":["saeris/mini-movie-db-api"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeris%2Ftmdb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeris%2Ftmdb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeris%2Ftmdb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeris%2Ftmdb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saeris","download_url":"https://codeload.github.com/Saeris/tmdb-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228413945,"owners_count":17915919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","apollo-server","aws-lambda","graphql","netlify-functions","serverless","the-movie-db","typescript"],"created_at":"2024-10-11T13:35:28.259Z","updated_at":"2024-12-06T05:02:45.824Z","avatar_url":"https://github.com/Saeris.png","language":"TypeScript","readme":"\u003ch1 align=\"center\" style=\"display: block; text-align: center;\"\u003e🎬 TMDB API\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://travis-ci.com/Saeris/tmdb-api\"\u003e\u003cimg src=\"https://travis-ci.com/Saeris/tmdb-api.svg?branch=master\" alt=\"Build Status\" /\u003e\u003c/a\u003e\u003ca href=\"https://codecov.io/gh/Saeris/tmdb-api\"\u003e\u003cimg src=\"https://codecov.io/gh/Saeris/tmdb-api/branch/master/graph/badge.svg\" alt=\"Code Coverage\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eA GraphQL API wrapper for The Movie DB built with \u003ca href=\"https://www.apollographql.com/docs/apollo-server/features/data-sources.html\"\u003eApollo Data Sources\u003c/a\u003e.\u003c/p\u003e\n\n## 🛠️ Setup\n\nInstall dependencies by running `yarn`, then create a new file in the root directory named `.env`. You'll need to get an API key from The Movie DB in order to run any queries. For more information, please read the [Movie DB docs](https://developers.themoviedb.org/3/getting-started/introduction). Additionally, if you want to track usage metrics for your API, you'll need to get an API key from Apollo Graph Manager. For instructions on how to do that, please read the [Apollo Graph Manager docs](https://www.apollographql.com/docs/graph-manager/). In your new `.env` file, copy + paste the following and replace the text following the `=` sign with your newly create API keys.\n\n```\nMOVIE_DB_API_V3_KEY=\u003cinsert your movie database v3 api key here\u003e\n# OR\nMOVIE_DB_API_V4_KEY=\u003cinsert your movie database v4 api key here\u003e\n\nAPOLLO_KEY=\u003cinsert your apollo studio api key here\u003e\n```\n\nOnce that's done, you can now start up a development server using `yarn start`. Once the development server is listening, you can pull up a GraphQL Playground by visiting one of the following URL:\n\nNetlify: http://localhost:1337/.netlify/functions/tmdb-api\n\n## 🕹️ Demo\n\nYou can try out the API using the GraphQL Playground hosted at https://tmdb-api.saeris.io/.netlify/functions/tmdb-api\n\n## 🧪 Testing\n\nTesting is provided via `jest` and is pre-configured to run with `codecov` as well. While tests for this project are far from complete, they can be found under `src/__TEST__` and follow a naming format of `[filename].spec.ts`. Additionally, this project uses `eslint`, `typescript`, and `prettier`, all three of which are automatically run on each commit via `husky` + `lint-staged`. To manually lint and test, use the following commands:\n\nLint:\n\n```bash\nyarn lint\n```\n\nTypecheck:\n\n```bash\nyarn typecheck\n```\n\nTest and watch for changes:\n\n```bash\nyarn test:watch\n```\n\nLint + Typecheck + Test:\n\n```bash\nyarn test\n```\n\n## 🥂 License\n\nReleased under the [MIT license](https://github.com/Saeris/tmdb-api/blob/master/LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeris%2Ftmdb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaeris%2Ftmdb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeris%2Ftmdb-api/lists"}