0.1.2 • Published 5 years ago

squidex-module v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

squidex-module

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

📖 Release Notes

Features

The module features Squidex GraphQL API connection.

Setup

  • Add squidex-module dependency using yarn or npm to your project
  • Add squidex-module to modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    'squidex-module',

    // With options
    ['squidex-module', { 
      /* module options */ 
      endpoint: 'https://cloud.squidex.io/api/content/<app>/graphql',
      clientId: process.env.SQUIDEX_CLIENT_ID,
      clientSecret: process.env.SQUIDEX_CLIENT_SECRET,
      tokenCacheDuration: 15
    }],
 ],

 squidex: {
   endpoint: 'https://cloud.squidex.io/api/content/<app/graphql',
   clientId: process.env.SQUIDEX_CLIENT_ID,
   clientSecret: process.env.SQUIDEX_CLIENT_SECRET,
   tokenCacheDuration: 15
 }
}

Usage

Module Description

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev
  • Add .env under the root directory:
    // example: .env
      SQUIDEX_TOKEN_URL=https://cloud.squidex.io/identity-server/connect/token
      SQUIDEX_TOKEN_GRANT_TYPE=client_credentials
      SQUIDEX_TOKEN_SCOPE=squidex-api
      SQUIDEX_CLIENT_ID=<your:clientid>
      SQUIDEX_CLIENT_SECRET=<secret>

License

MIT License

Copyright (c) zipme gk@rb2.nl

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.8

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago