Build a CRUD GraphQL API With Apollo Server V4, Couchbase, and TypeScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ส.ค. 2024
  • Try Couchbase free for 30 days at couchbase.com
    Join the Couchbase Discord community here: / discord
    In this video I show you how to create a full CRUD GraphQL API using the latest technologies such as Apollo Server V4, Couchbase, GraphQL, and TypeScript. If you’re interested in backend API development, or learning a new database service such as Couchbase, then you will get a bunch of value out of this video. The API we build is going to allow us to create, read, update, and delete products similar to an eCommerce store. During the tutorial I also show how to use Couchbase Capella, Couchbase full text search, and of course how to integrate Couchbase with backend systems such as Apollo Server V4. This video also uses TypeScript, allowing us to show off the TypeScript classes that Couchbase offers for easier development of backend systems.
    Apollo Server tsconfig.json: pastebin.com/7MJCtgfU
    Apollo Server Lamba deployment: www.apollographql.com/docs/ap...
    Final project code: github.com/coopercodes/Couchb...
    0:00 Introduction / API Showcase
    5:09 Setup Apollo Server V4 with TypeScript
    13:53 Setup Couchbase with Apollo Server V4
    22:20 getProduct query (Read)
    28:03 createProduct mutation (Create)
    33:56 deleteProduct mutation (Delete)
    36:59 updateProduct mutation (Update)
    42:55 getAllProductsWithTerm query (Couchbase FTS)
    51:10 setQuantity mutation (Update property)
    54:12 Deployment discussion / thanks for watching!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 15

  • @user-fh9ot3vk2z
    @user-fh9ot3vk2z 8 หลายเดือนก่อน

    I have to say
    you are the only one on youtube that explain so well graphQl with apollo server AND typescript!!
    ans you should get way more respect for you video
    and I hope you will soon!
    thanks alot
    you so talent

  • @PederLinder
    @PederLinder 11 หลายเดือนก่อน +2

    World class! Really inspiring and hands-on!

    • @CooperCodes
      @CooperCodes  11 หลายเดือนก่อน

      Thank you so much! Glad you enjoyed the video Peder :)

  • @madhubachi2247
    @madhubachi2247 4 หลายเดือนก่อน +1

    thank u for the video and Can you pls paste the video to deploy to aws lambda

  • @gemlopmun
    @gemlopmun 5 หลายเดือนก่อน

    I had to use: import * as couchbase from "couchbase";
    Thank you for the video, It was very helpful!

  • @paulthomas1052
    @paulthomas1052 11 หลายเดือนก่อน

    Another great and informative video - thanks again !

    • @CooperCodes
      @CooperCodes  11 หลายเดือนก่อน +1

      Thanks so much! Glad you found the video informative and hopefully you found Couchbase pretty cool like I did :)

  • @Amar11115
    @Amar11115 11 หลายเดือนก่อน +1

    Thanks for this awesome video!!

    • @CooperCodes
      @CooperCodes  11 หลายเดือนก่อน

      You are very welcome! Thank you so much for taking the time to watch

  • @DipanshuBhangale
    @DipanshuBhangale 11 หลายเดือนก่อน +1

    Please add video to deploy it to aws , this is super helpful!!!😇

    • @CooperCodes
      @CooperCodes  11 หลายเดือนก่อน +1

      Will be getting to this soon! Thank you for commenting and watching the video :)

  • @deepkodes4434
    @deepkodes4434 3 หลายเดือนก่อน

    you could have used mongodb, mongoose as thats industry standard

  • @CoIdestMoments
    @CoIdestMoments 11 หลายเดือนก่อน

    they don't offer infinite free tier, it's limited to 30 days, so after 30 days of building this you can't show this project on your resume in production, kinda annoying so not building it

    • @PerryKrug
      @PerryKrug 11 หลายเดือนก่อน

      We're working on that as we speak, please watch this space 🙂

  • @albertlaguador
    @albertlaguador 6 หลายเดือนก่อน

    Just in case you encountered module not found error try adding node --es-module-specifier-resolution=node ./dist/index.js