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

Bagisto

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

How can i create API and get data form bagisto

General Discussion
2
9
395
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.
  • T
    Teddi last edited by 8 Mar 2023, 01:41

    Can someone give me a tutorial about creating an API using GraphQL that retrieve data from bagisto website that we created

    1 Reply Last reply Reply Quote 0
    • sanjay-webkul
      sanjay-webkul last edited by 13 Mar 2023, 07:25

      Hi there,
      Please take a reference from Here

      1 Reply Last reply Reply Quote 0
      • T
        Teddi last edited by 13 Mar 2023, 07:33

        Hello Sanjay,
        Thanks for answering
        I already follow that and also following this, but when i try in postman, it came to be an error like this
        eac2b3ef-fda1-46c3-8b18-9b4421acc91d-image.png

        can you help me, what i doing wrong in here?

        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by 13 Mar 2023, 08:11

          Please check your database credentials in .env file on the project root.
          And run the below command after doing correction on .env file.

          php artisan optimize:clear
          T 1 Reply Last reply 14 Mar 2023, 02:25 Reply Quote 0
          • T
            Teddi @sanjay-webkul last edited by Teddi 14 Mar 2023, 02:26 14 Mar 2023, 02:25

            @sanjay-webkul not working, still have the same error, even i create a new user it still error

            1 Reply Last reply Reply Quote 0
            • sanjay-webkul
              sanjay-webkul last edited by 14 Mar 2023, 05:25

              Hi there,
              I guess DB_USERNAME is blank in .env file.
              Can you please share your .env file?

              T 1 Reply Last reply 14 Mar 2023, 06:41 Reply Quote 0
              • T
                Teddi @sanjay-webkul last edited by 14 Mar 2023, 06:41

                @sanjay-webkul here my .env, i even adding new rule on my firewall to handle port
                40372804-7b46-4009-961c-d06a90647f32-image.png

                1 Reply Last reply Reply Quote 0
                • sanjay-webkul
                  sanjay-webkul last edited by 14 Mar 2023, 09:28

                  @sanjay-webkul said in How can i create API and get data form bagisto:

                  Please check your database credentials in .env file on the project root.
                  And run the below command after doing correction on .env file.

                  Hi there,
                  Please run the given command on your project root directory and if still you are getting the same issue then please let me know.

                  php artisan optimize:clear
                  1 Reply Last reply Reply Quote 0
                  • sanjay-webkul
                    sanjay-webkul last edited by 14 Mar 2023, 10:56

                    Hi there,
                    as i can check the issue is with your database credentials.please verify the credentials and you can change the db password once and try again.

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