Issues with GraphQLAPI in a fresh bagisto installation



  • 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.



  • Hi @arxideas ,
    please mention your bagisto version .


Log in to reply