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

  Рет қаралды 2,280

Cooper Codes

Cooper Codes

Күн бұрын

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
@PederLinder
@PederLinder 10 ай бұрын
World class! Really inspiring and hands-on!
@CooperCodes
@CooperCodes 10 ай бұрын
Thank you so much! Glad you enjoyed the video Peder :)
@user-fh9ot3vk2z
@user-fh9ot3vk2z 6 ай бұрын
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
@paulthomas1052
@paulthomas1052 10 ай бұрын
Another great and informative video - thanks again !
@CooperCodes
@CooperCodes 10 ай бұрын
Thanks so much! Glad you found the video informative and hopefully you found Couchbase pretty cool like I did :)
@gemlopmun
@gemlopmun 4 ай бұрын
I had to use: import * as couchbase from "couchbase"; Thank you for the video, It was very helpful!
@madhubachi2247
@madhubachi2247 3 ай бұрын
thank u for the video and Can you pls paste the video to deploy to aws lambda
@Amar11115
@Amar11115 10 ай бұрын
Thanks for this awesome video!!
@CooperCodes
@CooperCodes 10 ай бұрын
You are very welcome! Thank you so much for taking the time to watch
@DipanshuBhangale
@DipanshuBhangale 10 ай бұрын
Please add video to deploy it to aws , this is super helpful!!!😇
@CooperCodes
@CooperCodes 10 ай бұрын
Will be getting to this soon! Thank you for commenting and watching the video :)
@deepkodes4434
@deepkodes4434 Ай бұрын
you could have used mongodb, mongoose as thats industry standard
@CoIdestMoments
@CoIdestMoments 10 ай бұрын
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 9 ай бұрын
We're working on that as we speak, please watch this space 🙂
@albertlaguador
@albertlaguador 5 ай бұрын
Just in case you encountered module not found error try adding node --es-module-specifier-resolution=node ./dist/index.js
Create A GraphQL API with Apollo Server V3 and MongoDB Atlas
36:27
Cooper Codes
Рет қаралды 31 М.
Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
9:54
ThePrimeagen
Рет қаралды 212 М.
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 21 МЛН
How to setup a GraphQL API with Apollo, Nexus and Prisma
1:16:39
Victor Iris
Рет қаралды 5 М.
Learn GraphQL In 40 Minutes
39:43
Web Dev Simplified
Рет қаралды 729 М.
GraphQL Crash Course - GraphQL NodeJS
42:31
Piyush Garg
Рет қаралды 73 М.
Understanding Caching in Apollo Client 3
24:28
Apollo GraphQL
Рет қаралды 15 М.
Как работает автопилот на Lixiang L9 Max
0:34
Семен Ефимов
Рет қаралды 14 М.
Bardak ile Projektör Nasıl Yapılır?
0:19
Safak Novruz
Рет қаралды 6 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 1,6 МЛН
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 116 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30