![Jon Peppinck](/img/default-banner.jpg)
- 169
- 889 790
Jon Peppinck
Australia
Registrace 29. 12. 2007
NestJS Kubernetes MiniKube
Begin your Kubernetes journey by setting up your first K8s cluster with NestJS and MiniKube.
--------------------------------------------------
Recommended Udemy courses
--------------------------------------------------
Docker Mastery (with Kubernetes + Swarm): tinyurl.com/yeymdnhn
NestJS - Zero to Hero: tinyurl.com/3rxsz669
0:00 - Intro
0:20 - What is Kubernetes?
6:53 - Setup and install
11:34 - NestJS API [CODE]
14:54 - Dockerfile and DockerHub
22:16 - K8s Config YAML files
46:46 - Run K8s with MiniKube
CODE: github.com/Jon-Peppinck/nestjs-k8s-simple-pv
--------------------------------------------------
Recommended Udemy courses
--------------------------------------------------
Docker Mastery (with Kubernetes + Swarm): tinyurl.com/yeymdnhn
NestJS - Zero to Hero: tinyurl.com/3rxsz669
0:00 - Intro
0:20 - What is Kubernetes?
6:53 - Setup and install
11:34 - NestJS API [CODE]
14:54 - Dockerfile and DockerHub
22:16 - K8s Config YAML files
46:46 - Run K8s with MiniKube
CODE: github.com/Jon-Peppinck/nestjs-k8s-simple-pv
zhlédnutí: 863
Video
Auto Scale NestJS API with AWS ASG & ALB (Auto Scaling Groups & Application Load Balancer)
zhlédnutí 234Před 2 měsíci
Learn how to set up an Auto Scaling Group (ASG) and Application Load Balancer (ALB) for your NestJS application based on a Launch Template such that EC2 instances are automatically provisioned and traffic is evenly distributed. Recommended Udemy courses Ultimate AWS Certified Developer: tinyurl.com/3hapnmts NestJS - Zero to Hero: tinyurl.com/3rxsz669 0:00 - Intro 0:42 - NestJS API [CODE] 1:20 -...
Deploy React to AWS S3
zhlédnutí 301Před 3 měsíci
Learn how to deploy static files to S3. Know when to choose between S3 and EFS for your storage needs. Connect your React application to your API and database for full-stack deployment. Recommended Udemy courses Ultimate AWS Certified Developer: tinyurl.com/3hapnmts React - The Complete Guide: tinyurl.com/2t6v5yeu NestJS - Zero to Hero: tinyurl.com/3rxsz669 0:00 - Intro 0:12 - React Todo App [C...
Deploy NestJS API on AWS EC2 with Postgres and Prisma
zhlédnutí 1,2KPřed 3 měsíci
Learn how to setup a Postgres database on your EC2 instance and perform migrations with Prisma. Recommended Udemy courses Ultimate AWS Certified Developer: tinyurl.com/3hapnmts NestJS - Zero to Hero: tinyurl.com/3rxsz669 0:00 - Intro 0:16 - Project overview (NestJS Prisma CODE) 5:22 - EC2 instance storage (EBS EFS) 12:45 - Setup and Install (Linux) 25:20 - Prisma migrations 29:47 - Start server...
Deploy NestJS API to AWS EC2
zhlédnutí 2,7KPřed 3 měsíci
AWS for complete beginners wanting to deploy their NestJS API to the cloud. Recommended Udemy courses Ultimate AWS Certified Developer: tinyurl.com/3hapnmts NestJS - Zero to Hero: tinyurl.com/3rxsz669 0:00 - Intro 1:03 - Root login 3:31 - Regions and AZ's 7:16 - Shared responsibility Model 8:04 - Create IAM user 19:45 - Launch EC2 instance 31:26 - IAM Role for EC2 36:04 - Security Groups 39:19 ...
NestJS Prisma Tutorial
zhlédnutí 3,2KPřed 8 měsíci
In this video we setup Prisma in our NestJS microservices application. Recommended Udemy courses NestJS - Zero to Hero: tinyurl.com/3rxsz669 React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj React Native - The Practical Guide: tinyurl.com/3wzmdzht Docker Mastery (with Kubernetes Swarm): tinyurl.com/yeymdnhn GitHub Code: github.com/Jon-Peppinck/n...
NestJS Microservices gRPC
zhlédnutí 6KPřed 8 měsíci
Learn how to create a microservice based project with NestJS and gRPC. Recommended Udemy courses NestJS - Zero to Hero: tinyurl.com/3rxsz669 React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj React Native - The Practical Guide: tinyurl.com/3wzmdzht Docker Mastery (with Kubernetes Swarm): tinyurl.com/yeymdnhn GitHub Code: github.com/Jon-Peppinck/n...
Counting Bits - Leet Code 338 - TypeScript
zhlédnutí 179Před 10 měsíci
Learn about bits on a deeper level by solving the counting bits problem. We solve this two ways. The first by making use of a pattern with binary numbers. The second by using bitwise shift right operator in conjunction with the bitwise and operator, which we discuss in detail. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4eh...
Rotate Image - Leet Code 48 - TypeScript
zhlédnutí 222Před 10 měsíci
Solve a mathematical based algorithm which makes use of a matrix transpose to be able to swap rows with columns and solve the rotate image problem. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj 00:00-05:50 - Understandin...
Best Time to Buy and Sell Stock with Cooldown
zhlédnutí 160Před 10 měsíci
This is a 2D Dynamic programming problem which we will solve with the help of a cache, a dynamic programming technique, to be able to find the best time to buy and sell a stock with cooldown. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tin...
Climbing Stairs - Leet Code 70 - TypeScript
zhlédnutí 112Před 10 měsíci
Introduction to the bottom-up approach which is a basic dynamic programming technique which we apply to solve the climbing stairs algorithm. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj 00:00-03:18 - Understanding the p...
Number of Islands - Leet Code 200 - TypeScript
zhlédnutí 116Před 10 měsíci
Apply a DFS to a graph problem to be able to solve the number of islands algorithm. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj 00:00-01:37 - Understanding the problem 01:38 - Solving the problem
Subsets - Leet Code 78 - TypeScript
zhlédnutí 72Před 10 měsíci
Backtracking is a common algorithm technique for exploring various situations where outcomes can differ depending on the decision made. Subsets is a great way to learn about and practice the backtracking technique. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - ...
Max Subarray (Kadane's Algorithm) - Leet Code 53 - TypeScript
zhlédnutí 124Před 11 měsíci
Kadane's algorithm is a must know to efficiently solve the max subarray problem. We also look at it in the context of a Greedy algorithm to learn about those. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj DSA TS Playlist...
Insert Interval - Leet Code 57 - TypeScript
zhlédnutí 106Před 11 měsíci
Learn about intervals and solve Leet Code 57 Insert Interval Algorithm. Recommended Udemy courses Understanding TypeScript: tinyurl.com/9wz6fp7k NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm React - The Complete Guide: tinyurl.com/2t6v5yeu Angular - The Complete Guide: tinyurl.com/4h5rmpsj DSA TS Playlist: czcams.com/play/PL9_OU-1M9E_tLzMZUV7x7YFFaZkSIN1Fm.html 00:00-04:41 - Understanding t...
Kth Largest Element in a Stream - Leet Code 703 - TypeScript
zhlédnutí 160Před 11 měsíci
Kth Largest Element in a Stream - Leet Code 703 - TypeScript
Implement Trie - Leet Code 208 - TypeScript
zhlédnutí 253Před 11 měsíci
Implement Trie - Leet Code 208 - TypeScript
Invert a Binary Tree - Leet Code 226 - TypeScript
zhlédnutí 227Před 11 měsíci
Invert a Binary Tree - Leet Code 226 - TypeScript
Breadth First Search - DSA - TypeScript
zhlédnutí 360Před 11 měsíci
Breadth First Search - DSA - TypeScript
Depth First Search - DSA - TypeScript
zhlédnutí 504Před 11 měsíci
Depth First Search - DSA - TypeScript
Graph Data Structure (Must know before Leet Code)
zhlédnutí 182Před 11 měsíci
Graph Data Structure (Must know before Leet Code)
Tree Data Structure (Must know before Leet Code)
zhlédnutí 172Před 11 měsíci
Tree Data Structure (Must know before Leet Code)
Search a 2D Matrix - Leet Code 74 - TypeScript
zhlédnutí 101Před 11 měsíci
Search a 2D Matrix - Leet Code 74 - TypeScript
Binary Search - Leet Code 704 - TypeScript
zhlédnutí 178Před 11 měsíci
Binary Search - Leet Code 704 - TypeScript
Merge Two Sorted Lists - Leet Code 21 - TypeScript
zhlédnutí 278Před 11 měsíci
Merge Two Sorted Lists - Leet Code 21 - TypeScript
Reverse Linked List - Leet Code 206 - TypeScript
zhlédnutí 188Před 11 měsíci
Reverse Linked List - Leet Code 206 - TypeScript
Hash Tables and Hash Functions - Why key lookup is O(1)?
zhlédnutí 274Před 11 měsíci
Hash Tables and Hash Functions - Why key lookup is O(1)?
The Linked List Data Structure (SLL, DLL, CLL)
zhlédnutí 225Před 11 měsíci
The Linked List Data Structure (SLL, DLL, CLL)
Valid Parentheses - Leet Code 20 - TypeScript
zhlédnutí 147Před 11 měsíci
Valid Parentheses - Leet Code 20 - TypeScript
Liked, subscribed!
Hey, I am looking for a setup for test suites in NestJS, but with addition of factories for classes, in order to help me with seeding and "Arrange" Step of the Test. Any idea where to watch that? Especially, for complex schemas where i.e. I want to test a module, which every entity depends on the creation of others.
Hi i have a problem in the auth with the posts
Hello. Thanks a lot for this playlist. I try to adapt this tutorial for Bunjs, and it's a nightmare. Auth app does not connect to postgres. Could you provide another tutorial for this part please ? 😊
Postman hangs
Great tuts... Need more projects on nestjs vd nextjs
hi Jon Peppinck. I think interface BaseInterfaceRepository not should includes findByCondition and findWithRelations , because when i using MONGODB instead of Postgres, it will causing classes MongoDB cant implement BaseInterfaceRepository, and Interfaces should not depend on T as entity instead of another Interface model BaseInterfaceRepository<ConversationEntity> -> BaseInterfaceRepository<ConversationModel>. Am I right to think like that?
I didn't watch the whole video but I could find your Repo and helped me a lot to use the authenticator microservice.
great content
I was searching for typescript and only got this....Thanks so much a ton
IMOO, to use Set is better.
I want to build api gateway for my side project. Do you think grpc is a greate choice to gateway communicate with other service (replace rest api) ?
instant subscribe
Thanks so much!
And if I have an .env file where I have the configuration to the database, how do I add it to the server?
Hello Jon, why do you upload file then check for validation and then delete it if does not pass them, why not filter it from the start and avoid uploading it and deleting afterwards if it fails the validations.
Helpful Nice
Thank you, glad it was helpful!
protoc --plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./ --ts_proto_opt=nestJs=true ./proto/sample.proto this command is giving error: --ts_proto_out: protoc-gen-ts_proto: %1 is not a valid Win32 application.
hey, thanks a lot from a Brazilian new dev!! very nice and clear video!
Thanks so much for checking it out!
Hey, this is Returning {statusCode:500, message: Internal Server Error}
Thanks for this insightful video, we've been using mostly AWS at work and this have demystified some topics.
That's great to hear, thanks for watching!
thanks a lot bro, so useful
Thanks so much for checking it out!
Thank you so much!
Thanks for checking the video out!
Wow wow wow, bro you are awesome
Thanks so much! Glad you enjoyed it
This is exactly what I was looking for. Thank you ❤
Thanks so much for checking it out!
Is data saved in postgrs database in aws3
Basic data (e.g. ids, varchars, etc) will be saved into pg. Image, videos, and other files should be stored elsewhere (e.g. EBS, S3), but have the location of where they are stored in the database.
Question, why won’t you use existing Map <> structure instead of creating custom Tally?
Thank you for the tutorial, short but very straightforward to the point.💯💯💥💥 cant wait for the next one !
Thanks so much for following along with this series Patty! I have more videos coming soon. Much appreciated!
well explain ! thank you !
Thanks so much Patty!
Hey Jon, I want you to make more videos because I watch every one of your videos, they are amazing.
Thanks so much! More videos coming soon :)
Hey Jon, I watched a lot of your videos which I found really informative. Would you mind pointing in the right direction? I have a mono repo microservice project. I am using rabbitmq as a message broker. I have and API gateway and auth service. I would like to create another µservice, something like Eureka server in springboot that allows for service discovery and registration. I scoured the internet, all I found were 5 year old repos or complex solutions. I want to forward my requests to auth service so I don't have to make another controller in API gateway and redefind all my methods. Any links, ideas? Or maybe you can make a video about it?
Hi Elyes, thanks so much for checking out my videos! I haven't looked into creating my own version of Eureka before, and am sure you know much more about how you would go about implementing it from scratch than me. I would lean towards using existing solutions which solve the issues you are trying to solve, which are probably: service registration, service discovery, and load balancing. Two alternative ideas are using AWS or Kubernetes. AWS: AWS provides a similar service discovery feature through Amazon ECS (Elastic Container Service) and AWS Cloud Map. ECS has built-in service discovery capabilities, allowing services within an ECS cluster to discover and communicate with each other using DNS or API calls. AWS Cloud Map extends this functionality by providing a centralized registry for managing service discovery across multiple ECS clusters, AWS Lambda functions, and external resources. Kubernetes: Kubernetes also offers service discovery through its built-in DNS-based service discovery mechanism. Services deployed within a Kubernetes cluster automatically get DNS entries that can be used by other services to discover and communicate with them. Kubernetes also supports additional features like load balancing and automatic scaling, making it a powerful choice for managing microservices.
@@JonPeppinck Thank you so much. What if I wanted to avoid all of that entirely, I simply want my Api gateway to forward all requests that it receives on port 3200, for instance, to 3500. I want a simple solution to test with first. Any suggestions? Maybe I missed something, I am stuck trying to solve this.
@@ElyesBoudhina Have you looked into using a reverse proxy such as nginx? If you just need simple route forwarding, that would be the easiest option.
Wow. Tks you so much.
Thanks for checking it out!
So much interesting bro! Don't stop😎
Thanks so much! Many more videos coming soon 😎
Thanks a lot..... Luv u ❤
Thanks for checking it out!
Wohhhh this is what I am waiting for !! Thank you !
I have been meaning to work on this for a while now. Thank you for your patience. I have many more NestJS + AWS + DevOps videos planned. Thanks for checking them out!
Many thanks Jon, I was not familiar with NestJs Gateway. It was really usefull.
Thanks so much for checking it out! Glad it was useful!
Hey man, loved the video, little problem in my side is when I was doing it I tried making some things more clearer like making a custom component for the textfield and the inputlabel, then I'd pass a name and that name would define the input type and what would the error be and stuff, but the approach of trying to do it ''better'' crashes because you handle everything in one component and it gets absurdely difficult to for example verify the password, so you'd need to pass some state to then lift it up and then verify that state in the parent component once is submitted. The video is great but I believe there's to much repetition or unnecesary code, anyways, Love you man, keep it up
Hi Diego, that is a very fair take. I probably wouldn't use it in prod for certain situations either because lots of libraries do a better job and hide the complexities. Although creating a custom hook in certain situations can be quite handy. Cheers!
Thanks for this course. Can you suggest any good sql courses on udemy?
Thank you for checking it out! Sure, check out: tinyurl.com/4hszev2s
hey, nice tutorial, did you run into this error from google playstore : Your use of exact alarms is causing your app to crash for some Android users
Ty
Very nice sir
hi, thank you it was a great tutorial keep up the good work.
Thanks so much! Will do.
Thankyou, this is really the best video.
Thanks so much!
Thank Jon. your content is so clearly. you increased one sub one like from me bro
Thank you so much! 🙏
Thank you so much very helpful
Best regards, I really like this video series, I have learned a lot, keep it up, please help many people, I would like to ask you a question, just me following you but applying for my personal project, I try to upload at least a first AWS version , with Elastic Container Registry and well in my case I also have several services ps the normal auth, and the api, to upload it I am doing it service by service with the dockerfile but since it has libs/shared I have problems since that one, I don't know how It must be used in each service, it must be copied to the dockerfile. If so, the import routes would no longer match. Well, I am stuck, could you give me some light so I can move forward please.
Hi Andre, thanks for checking out the video. When you build the code, the shared library will be bundled together with each service. Since we are using: `import { SharedService } from '@app/shared';` opposed to: `import { SharedService } from '../../...';`, the imports from the shared library should remain relative to the project. Perhaps some tweaks need to be made to the Docker files or the output of the build. I will be coming back to AWS/NestJS and creating videos on that, although it probably will be in Q2 some time. Best of luck!
pure gold knowledge, thx very much for for sharing this, from brazil.
Thanks so much for checking it out!
Thanks for the video, it was very helpful. A tiny bit of feedback, the amount of times you said "um" was very distracting and once you notice it you can't un-notice it.
thanks a lot now i notice it too
Hey buddy just discovered your channel. It's just next level content on CZcams. If possible In your free time can you make a nest js, nextjs,rabbit mq etc.. Major project.
how can this project be deployed?
could you make a video for Angular 17. because i cant display my data from nodejs rest api. But console is ok. problem is display data in html page. Angular 17 is more complex!! thanks