Build a CRUD GraphQL API With Apollo Server V4, Couchbase, and TypeScript
2.4 هزار بار بازدید -
پارسال
-
Try Couchbase free for 30
Try Couchbase free for 30 days at https://couchbase.com
Join the Couchbase Discord community here: Discord: 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: https://pastebin.com/7MJCtgfU
Apollo Server Lamba deployment: https://www.apollographql.com/docs/ap...
Final project code: https://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!
Join the Couchbase Discord community here: Discord: 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: https://pastebin.com/7MJCtgfU
Apollo Server Lamba deployment: https://www.apollographql.com/docs/ap...
Final project code: https://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!
پارسال
در تاریخ 1402/05/24 منتشر شده
است.
2,497
بـار بازدید شده