• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Issues with GraphQLAPI in a fresh bagisto installation

General Discussion
2
2
194
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    arxideas last edited by 1 Dec 2021, 14:12

    Hello,

    I'm new to Laravel and bagisto and i have been requested to set up an e-commerce site for a client. For this task i've picked bagisto for its flexibility and customisability. My intention is to have the e-commerce site as a front and also be able to monitor the users (add, update, delete e.t.c user) via the Admin GraphQL API.

    I've managed to install bagisto in a docker image which contains all the prerequisites and it is working as expected. In addition, i've installed the GraphQL extension by following the relevant instructions: https://github.com/bagisto/headless-ecommerce

    The issue that i'm facing is that i'm unable to access the GraphQL API via Postman nor via GraphQL Playground.

    I'm getting the following messages respectively:

    Screenshot 2021-12-01 at 3.50.07 PM.png

    Screenshot 2021-12-01 at 3.52.28 PM.png

    For your information, as instructed by the documentation, i have performed the below steps:

    Screenshot 2021-12-01 at 3.54.07 PM.png

    Screenshot 2021-12-01 at 3.55.30 PM.png

    Screenshot 2021-12-01 at 3.58.51 PM.png

    Moving on, i've executed the following commands,

    Screenshot 2021-12-01 at 4.01.16 PM.png

    Screenshot 2021-12-01 at 4.01.36 PM.png

    Screenshot 2021-12-01 at 4.01.51 PM.png

    The installation was completed with success. Then for the final steps,

    Screenshot 2021-12-01 at 4.03.55 PM.png

    Screenshot 2021-12-01 at 4.04.56 PM.png

    And added JWT TTL in the .env file

    Screenshot 2021-12-01 at 4.06.00 PM.png

    Could you kindly let me know if i'm missing anything regarding the installation? Why, i'm unable to access GraphQLAPI?
    Thank you very much for your time.

    1 Reply Last reply Reply Quote 0
    • N
      Naresh-webkul last edited by 3 Dec 2021, 05:31

      Hi @arxideas ,
      please mention your bagisto version .

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post