Look up trailers, ratings, and other information about movies from the IMDB API.
This is a GrAMPS data source for GraphQL.
NOTE: Replace all instances of
YOUR_DATA_SOURCE_NAME with the actual name you want to use (e.g.
# Clone the repogit clone email@example.com:gramps-graphql/data-source-imdbapi.git data-source-YOUR_DATA_SOURCE_NAME# Move into itcd data-source-imdbapi/# Install dependenciesyarn install
To Develop with Mock Data
Start the app with the following command:
# Develop with mock datayarn mock-data
To Develop with Live Data
Once you’ve got your data source configured to load live data, you can enable live data in development:
# Develop with live datayarn live-data
Notes for Developers
Currently, there is no watch capability (PRs welcome!), so the service needs to be stopped (
C) and restarted (
yarn [mock-data|live-data]) to reflect new changes to the data source.