Skip to content

erichiller/inventory-manager-server

Repository files navigation

Inventory Manager & Labeler

Manage orders, inventory, and make labels.

Apollo Client Setup

no longer used

For code completion and other features of the Apollo VSCode Extension an apollo.config.js must be created. Contents should be like:

module.exports = {
    client: {
        service: {
            name: 'inventory-hasura',
            url: 'http://graphql:8080/v1/graphql',

            // optional headers
            headers: {
                "x-hasura-admin-secret": 'PASSWORD HERE'
            },
            // optional disable SSL validation check
            skipSSLValidation: true
        }
    }
};