debbysa / movie-graphql

simple query language using graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How To Access

  1. open your terminal, access your project location. example :

    cd movie-graphql/
  2. install all dependencies

    npm install
  3. run this command below, then press ENTER :

    npm run dev
  4. Open GraphiQL

    localhost:4000/graphql
  5. Select all movie :

{
    movies{
        title
        genre
    }
}
  1. select all actor :
{
    actors{
        name
        gender
    }
}
  1. select all actor with their movie :
{
    actors{
        name
        movies{
            title
        }
    }
}

About

simple query language using graphql


Languages

Language:JavaScript 100.0%