Skip to content

haffdata/buoy-demo-backend

Repository files navigation

Demo GraphQL API for ngx-lighthouse

This is a demo, that can be used while testing the ngx-buoy library.

Methods

Endpoint: https://demo.ngx-buoy.com/graph

Movies

You can fetch movies with following query.

query Movies {
    movies(count: 5, page: 1) {
        data {
            id
            name
            overview
        }
    }
}

Actors

You can fetch actors with following query.

query Actors {
    actors(count: 5, page: 1) {
        data {
            id
            name
        }
    }
}

Adding movies

You can add movies to the database, with following mutation.

This will also fetch all the actors that are connected to the movie.

mutation AddMovie {
    addMovie(tmdb_id: 700) {
        name
        overview
    }
}

All data is provided by themoviedb.com free of charge.

Releases

No releases published

Packages

No packages published