apollo-test

Apollo + GraphQL

Testing these technologies with nodejs.

how to use

pnpm compile && pnpm start

after running the project, connect to http://localhost:4000 and run the queries

Data

    Book{
        title: String
        author: Author
    }

    Author{
        name: String
        books: [Book]
    }

Queries

    books: [Book]
    authors: [Author]

Mutations

    addBook(title: String, author:String): Book;
    removeBook(title:String): Book;