Build A Live News API with Apollo Server V4 Subscriptions and GraphQL (TypeScript Tutorial)

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 25

  • @junjieyang7800
    @junjieyang7800 Před rokem +1

    thank you so much, I have been looking for something amazing like this!

  • @armanulalam4560
    @armanulalam4560 Před rokem +1

    I was struggling to understand the subscription part of apollo graphql documentation. This video helped me a lot. Thanks
    ]

  • @marianodiez5274
    @marianodiez5274 Před 6 měsíci +1

    Thx a lot for this amazing video, I am trying to do the same but I want to use Hapi instead express, do you have any other video or documentation that can I use?

  • @paulthomas1052
    @paulthomas1052 Před rokem +1

    Great introduction to Subscriptions. Thanks. :)

  • @nwaformicah433
    @nwaformicah433 Před rokem +4

    Thanks, great job and we appreciate. Can you do some tutorial on apollo express error handling

    • @CooperCodes
      @CooperCodes  Před rokem +2

      Doing a video on Apollo Server GraphQL error handling today :) be on the lookout!

    • @nwaformicah433
      @nwaformicah433 Před rokem +2

      @@CooperCodes thanks so much, you are the best

  • @neerajr7176
    @neerajr7176 Před 9 měsíci

    Thanks alot

  • @DS-fr3kk
    @DS-fr3kk Před rokem

    This helped a lot. Thanks 🙏

    • @CooperCodes
      @CooperCodes  Před rokem

      You are very welcome. Thanks for watching!

  • @martinapincione6429
    @martinapincione6429 Před rokem +2

    Hello, I am able to successfully make a mutation but when I do subscriptions I get a status error saying it's unable to connect to the ws://localhost:4000/graphql. Do you know what might be causing this issue? I even tried cloning you git code and running it on my local machine with no success

  • @logindharam
    @logindharam Před rokem +1

    how can i create a seperate file for schema and resolver for the same

    • @alexmcclay8152
      @alexmcclay8152 Před rokem

      I also had this issue, and I was struggling for a while as well but this is the solution.
      Lets say I have my typeDefs and resolvers in a schema.ts file in the same directory as the server.ts
      you import them like this assuming they aren't default exported.
      import { typeDefs, resolvers } from "./schema.js";
      you still do 'schema.js' even if its a .ts file.

    • @justiceellis6895
      @justiceellis6895 Před rokem +1

      @@alexmcclay8152 I Implemented this and it worked perfectly, Thank you 😊

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 7 měsíci

    Thank you

  • @tobias5073
    @tobias5073 Před rokem

    do you have this in JavaScript?

  • @user-zn5cz6tq3l
    @user-zn5cz6tq3l Před rokem

    source code please

    • @CooperCodes
      @CooperCodes  Před rokem

      It is here: github.com/coopercodes/LiveNewsAPI

  • @Victor-wh9bs
    @Victor-wh9bs Před rokem

    GraphQL

    • @CooperCodes
      @CooperCodes  Před rokem +2

      Yep, back at it! More Apollo Server V4 content soon

  • @logeshr7935
    @logeshr7935 Před 11 měsíci

    if I deploy this server on production I get this message:
    Send a POST request to query this endpoint:
    ------------------------------------------------------------------------------------------------------------------------------------------------------
    curl --request POST \
    --header 'content-type: application/json' \
    ------------------------------------------------------------------------------------------------------------------------------------------------------
    any help?