Skip to main content

VS Code Plugin

For VS Code users we recommend installing the Apollo GraphQL extension. It significantly improve the development experience by providing schema-based GraphQL autocompletion, query validation, syntax highlighting and more.

Once you installed the plugin create file apollo.config.js in the root of the project:

module.exports = {
client: {
service: {
name: '8base',
url: 'https://8BASE_API_URL',
},
includes: ['src/**/*.{ts,tsx,js,jsx}'],
},
};