@gramps/data-source-imdbapi

    0.1.1 • Public • Published

    GrAMPS · An easier way to manage the data sources powering your GraphQL server

    GrAMPS GraphQL Data Source for the IMDB API

    license npm version Build Status Maintainability Test Coverage Greenkeeper badge

    Look up trailers, ratings, and other information about movies from the IMDB API.

    This is a GrAMPS data source for GraphQL.

    Example Queries

    TKTK

    Quickstart

    NOTE: Replace all instances of YOUR_DATA_SOURCE_NAME with the actual name you want to use (e.g. data-source-companyname-datatype).

    # Clone the repo 
    git clone git@github.com:gramps-graphql/data-source-imdbapi.git data-source-YOUR_DATA_SOURCE_NAME
     
    # Move into it 
    cd data-source-imdbapi/
     
    # Install dependencies 
    yarn install

    To Develop with Mock Data

    Start the app with the following command:

    # Develop with mock data 
    yarn 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 data 
    yarn live-data

    Notes for Developers

    Currently, there is no watch capability (PRs welcome!), so the service needs to be stopped (control + C) and restarted (yarn [mock-data|live-data]) to reflect new changes to the data source.

    Keywords

    Install

    npm i @gramps/data-source-imdbapi

    DownloadsWeekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • molyholy
    • jake.henderson
    • ryanomackey
    • jlengstorf