Computing Power
Computing Power
  • Видео 56
  • Просмотров 136 555
Rest API using NestJS and Gemini
In this video, we are going to create a REST API using NestJS(NodeJS framework) and Google's Gemini
In our API, we will be able to communicate with the API model as a chat interface, also being able to handle multiple chat sessions using different chat session ids
00:00 - Introduction
00:54 - Create Gemini's API Key
01:38 - Create code
14:26 - Test project
16:55 - Conclusion +Observations
17:16 - AI Roadmap
18:05 - Ending
Просмотров: 81

Видео

Ways to make your system faster
Просмотров 74Месяц назад
In this video, we're going to discuss some strategies to make your software and the system as a whole faster ⚡️. We will explore some algorithms/data structure concepts and arquitecture-level optimizations to improve a system. We will also talk about the concept of profiling to find what needs to be optimized 00:00 - Introduction 00:55 - Profiling 01:58 - Algorithms data structures 02:52 - Spli...
Deploy NestJS to ECS + CI/CD with GIthub
Просмотров 1,6 тыс.3 месяца назад
In this video, we're going to deploy a NestJS (NodeJS) project to AWS ECS with a custom domain HTTPS. We're also going to setup CI/CD for it using Github Actions to automate deployment whenever we make changes to the project. - Stable difusion API: platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1ultra/post Github project: github.com/Mpcsj-Computing/...
Top Lessons from CrowdStrike HUGE CRASH
Просмотров 954 месяца назад
In this video, we're going to discuss three lessons we Software Engineers, can learn from CrowdStrike event, that caused many Windows machines in the entire world to collapse, stop working and block many giant corporations to operate The last lesson is the most important
I/OBound vs CPU Bound Code
Просмотров 1374 месяца назад
In this video, we're going to talk about I/O Bound vs CPU Bound code, how to identity them and what defines each type of algorithm and some examples
Vertical vs horizontal vs Diagonal scaling on AWS
Просмотров 1495 месяцев назад
In this video, we're going to see what the difference is between vertical scaling, horizontal scaling, and diagonal scaling and how to apply these concepts on AWS ElasticBeanstalk. 0:00 - Introduction 0:18 - Theory and concepts 4:30 - Application on AWS ElasticBeanstalk 9:40 Conclusion
How to get a job as software engineer
Просмотров 6546 месяцев назад
If you are looking to get started as a software Engineer and get a job, in this video, I'm going to share my story on how I started my career and some lessons I learned to land jobs and continue to evolve. Some lessons were fundamental to allow me to evolve, get into more impactful projects, and thrive 0:00 - Introduction 0:40 - My journey in software 4:18 - Summarize tips 6:25 - Conclusion
The Power of Computer Graphics
Просмотров 656 месяцев назад
In this video, we are going to talk about computer Graphics, CGI, and how it changed the history of cinema. Steven Spielberg became amazed with this technique when doing Jurassic Park. The technique evolved dramatically through the years, making movies and games more realistic We're also going to explore some tools used in creating computer graphics footage, like movies and games www.blender.or...
Run Windows Machine on AWS Cloud
Просмотров 1387 месяцев назад
In this video, we're going to run a Windows machine on AWS Cloud with Ec2 service. We will also use Microsoft Remote Desktop to connect to the virtual Windows machine running on AWS Cloud remotely. #windows #windowsserver #aws #ec2 #microsoft #clouds
Save LLM ChatHistory using NodeJS + MySQL
Просмотров 2897 месяцев назад
In this video, we're going to persist an LLM chat history like GPT4 using a NodeJS with NestJS application, PrismaORM, and a MySQL database #ai #javascript #nestjs #llm #openai #database #chatgpt #software #typescript #code #mysql #prismajs #orm #db #nodejs 0:00 - Introduction 01:00 - Project diagram 03:54 - Show existing project codebase 04:55 - Test REST API show issue 06:55 - Create MySQL DB...
ElevenLabs Voice API with Python
Просмотров 4,3 тыс.8 месяцев назад
In this video, you will learn how to use the Voice API from Eleven Labs, and integrate it with a Python codebase. ElevenLabs documentation - elevenlabs.io/docs/introduction - elevenlabs.io/docs/api-reference/text-to-speech Ps: Discord channel from ElevenLabs contains many relevant content on how to use their API Supported languages by each model: - OpenAI model: botpress.com/blog/list-of-langua...
CI/CD using Github + Github Actions + AWS Lambda
Просмотров 3,5 тыс.9 месяцев назад
CI/CD using Github Github Actions AWS Lambda
CI/CD using Docker + Github + AWS ECS
Просмотров 15 тыс.10 месяцев назад
CI/CD using Docker Github AWS ECS
Deploy React NextJS project into ECS
Просмотров 4 тыс.11 месяцев назад
Deploy React NextJS project into ECS
Deploy Python FastAPI into ECS
Просмотров 5 тыс.11 месяцев назад
Deploy Python FastAPI into ECS
Handle Multiple users with AI voice Assistant
Просмотров 260Год назад
Handle Multiple users with AI voice Assistant
Dynamic UI for AI Voice Assistant
Просмотров 1,1 тыс.Год назад
Dynamic UI for AI Voice Assistant
NestJS and Bun
Просмотров 4,9 тыс.Год назад
NestJS and Bun
Static website hosting using S3
Просмотров 79Год назад
Static website hosting using S3
Setup AWS CLI On Linux
Просмотров 840Год назад
Setup AWS CLI On Linux
Notes: NestJS and DynamoDB RestAPI
Просмотров 2,5 тыс.Год назад
Notes: NestJS and DynamoDB RestAPI
RestAPI with NestJS and StableDiffusion AI model
Просмотров 363Год назад
RestAPI with NestJS and StableDiffusion AI model
Deploy Stable Diffusion On AWS SageMaker
Просмотров 6 тыс.Год назад
Deploy Stable Diffusion On AWS SageMaker
NestJs And OpenAI's Chat Completion API
Просмотров 2,6 тыс.Год назад
NestJs And OpenAI's Chat Completion API
Integrate Lambda functions with S3 buckets
Просмотров 1 тыс.Год назад
Integrate Lambda functions with S3 buckets
Save money on AWS S3 with Lifecycle Rules
Просмотров 102Год назад
Save money on AWS S3 with Lifecycle Rules
NestJS and RabbitMQ for Long-Running tasks
Просмотров 2,5 тыс.Год назад
NestJS and RabbitMQ for Long-Running tasks
Duplicate files between S3 buckets
Просмотров 167Год назад
Duplicate files between S3 buckets
Setup CI/CD on AWS for NestJS(NodeJS)
Просмотров 14 тыс.Год назад
Setup CI/CD on AWS for NestJS(NodeJS)
Query Load Balancer logs using SQL and AWS Athena
Просмотров 472Год назад
Query Load Balancer logs using SQL and AWS Athena

Комментарии

  • @uafkhurram
    @uafkhurram 13 дней назад

    where i can deploy free nestjs?

    • @computingpower
      @computingpower 6 дней назад

      Hello, unfortunately all tools I used aren’t free. You can make some optimizations to reduce costs or use free tier on some services, but completely free may be a bit hard to find out

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 13 дней назад

    this is very helpful..thank you so much.

  • @EverettValdez
    @EverettValdez 16 дней назад

    Is it possible to have the backend and front end behind a single load balancer with more than one listener? Load balancers tend to be expensive

    • @computingpower
      @computingpower 16 дней назад

      Hello, yes, it's possible to do it using a Shared Load Balancer. I have a video about this topic here ruclips.net/video/XhGc_IM959A/видео.html It's a bit outdated since AWS changed the behavior and design for some its features, but it can still guide you for doing the process in general

  • @Ammce
    @Ammce 24 дня назад

    Is there a way to be sure when it was deployed to AWS? Like some webhook or some other github action that could let us know once the entire flow is finished and everything is ready?

    • @computingpower
      @computingpower 23 дня назад

      Excellent question! Yes, you can do it using AWS EventBridge to listen a Deployment State Change event from ECS. So you can setup the correct events on EventBridge + ECS to trigger something, like a lambda function, a direct HTTP webhook call to your codebase or something else that fits your use-case better. docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html

  • @Nya4fee
    @Nya4fee Месяц назад

    i tryed but .env isn't showing up.... so the tutorial is for me usless sad....

    • @computingpower
      @computingpower 29 дней назад

      Hello, try to print the value of your environment variable using print command. If the .env file is outside of root directory, you might need to make changes for reading it first

  • @Naterciopersonal-fd5cj
    @Naterciopersonal-fd5cj Месяц назад

    Top

  • @goldenglowitsolutions
    @goldenglowitsolutions Месяц назад

    This content is pure gold! Do you think that it can work well integrated into a RAG agents on WhatsApp?

    • @computingpower
      @computingpower Месяц назад

      Good question! I started studying WhatsApp API as well to make some projects. For now, I don't have too much experience to answer your question, but I can get back to you in future!

    • @goldenglowitsolutions
      @goldenglowitsolutions Месяц назад

      @@computingpower obrigado irmao!!

  • @leewalker3561
    @leewalker3561 Месяц назад

    Great information

  • @linusj55
    @linusj55 Месяц назад

    Dude, skip the piano!

  • @ComputerVisionFreelancer
    @ComputerVisionFreelancer Месяц назад

    Thanks for your efforts

    • @computingpower
      @computingpower Месяц назад

      Im glad you liked it! If you have some topic suggestions for videos, please let me know!

    • @ComputerVisionFreelancer
      @ComputerVisionFreelancer Месяц назад

      @computingpower do videos on realtime video stream based applications with aws as deployment cloud use llms and computer vision models cool stuff

    • @ComputerVisionFreelancer
      @ComputerVisionFreelancer Месяц назад

      @computingpower i liked you AI voice assistant project end to end it was best in youtube

  • @abinfiroz4210
    @abinfiroz4210 Месяц назад

    Coool🔥

  • @amanuelyohannes7151
    @amanuelyohannes7151 Месяц назад

    where is the previous video?

    • @computingpower
      @computingpower Месяц назад

      Hello, here are the two previous videos - ruclips.net/video/C_LJLZfvvaY/видео.htmlsi=T8rmJFd41BUH2qIX - ruclips.net/video/00I3czV8guk/видео.htmlsi=sPBck4ghS2vunE6t

  • @ArviLamborGhini
    @ArviLamborGhini Месяц назад

    Wow nice video 😊 help for me

  • @RanjithNair-ib1df
    @RanjithNair-ib1df 2 месяца назад

    Are you also using service in this video

    • @computingpower
      @computingpower 2 месяца назад

      Hello, are you referring to ECS Service ?

  • @douglasamai
    @douglasamai 2 месяца назад

    Sempre bom ver os BR brilhando, muito bom conteúdo, parabéns.

  • @DAVIDDANIELGUTIERREZCALDERON
    @DAVIDDANIELGUTIERREZCALDERON 2 месяца назад

    Hola muchas gracias por todo! Pregunta! Donde configuraste el acceso a la BD? no entiendo como conectaste aws

    • @computingpower
      @computingpower 2 месяца назад

      Hola, para conectarse con la base de datos en AWS, primero, es necesario instalar el AWS CLI en la máquina y configurar las credenciales de acceso. Aquí está el tutorial de cómo hacerlo: ruclips.net/video/1OqMQPx8Jno/видео.html

  • @nachoeigu
    @nachoeigu 2 месяца назад

    Man, you are great! I was stuck all the day (not even ChatGPT could help me) but your video was my very helpful. One point if someone is stuck like me: the subnets should be public (not private) because, otherwise, they can not pull from ECR. Thank you very much!!!

  • @yurionthecode
    @yurionthecode 2 месяца назад

    I followed this video and received health check grace period errors. Unfortunately and need to target groups and other important things to use ecs fargate. etc

    • @computingpower
      @computingpower 2 месяца назад

      Hello, thanks for your message! Did you make any changes to your health check config ? What do you have on your root route for your application?

    • @yurionthecode
      @yurionthecode 2 месяца назад

      @@computingpower Hello, you're welcome! thank you for sharing this tutorial.

    • @yurionthecode
      @yurionthecode 2 месяца назад

      @@computingpower Yes my / root route was return 404 and I creating some new route /health to check. But I had a lot of problems on the process but now is working.

    • @computingpower
      @computingpower 2 месяца назад

      @@yurionthecode I'm glad to know it's working! If you want to see specific video topics on this channel, please let me know! Maybe more details on ECS and Target Groups

  • @马长安-d7l
    @马长安-d7l 3 месяца назад

    How can i do this for java function?

    • @computingpower
      @computingpower 3 месяца назад

      Hello, for Java functions, you will have to create a Java lambda function, and then, automate the creation of your JAR file, and then send it with your GitHub actions automation. Check this out docs.aws.amazon.com/lambda/latest/dg/lambda-java.html

  • @duongngocphuc4099
    @duongngocphuc4099 3 месяца назад

    Thank you so much. Can you make a video tutorial deploy front end and back end (nest + react )

    • @computingpower
      @computingpower 3 месяца назад

      Hello! Thanks for the suggestion. I also have a video on how to deploy a React NextJS project to AWS ECS: ruclips.net/video/C_LJLZfvvaY/видео.html

  • @ronnie-codes
    @ronnie-codes 3 месяца назад

    It would help if you didn't skip user creation >_<

    • @computingpower
      @computingpower 3 месяца назад

      Hello, I did user creation on another video here ruclips.net/video/1OqMQPx8Jno/видео.html If you have more issues, please let me know!

  • @SuperYuri009
    @SuperYuri009 3 месяца назад

    Very cool video. Lots of valuable information packed in a simple form. Thank you.

  • @AjayCoding
    @AjayCoding 3 месяца назад

    I have a nestjs backend and a Nextjs client, and I'm exploring AWS for deployment. If I create two services, each in its own ECS cluster, how can I enable communication between the services? Do I need to implement service discovery for this purpose?

    • @computingpower
      @computingpower 3 месяца назад

      Hello, service discovery is one way to do it. The easiest way is to use a custom URL with Route53. I have another set of videos communicating a Python backend with a NextJS frontend: - Deploying Python backend: ruclips.net/video/00I3czV8guk/видео.html - Deploying NextJS frontend (and connecting with backend): ruclips.net/video/C_LJLZfvvaY/видео.html Please let me know if you have more questions

  • @AjayCoding
    @AjayCoding 3 месяца назад

    Thanks bro! Very helpful

  • @cadc-pn1ir
    @cadc-pn1ir 3 месяца назад

    I have a doubt. Is there any reason not to Dockerize the project before deploying it to lambda? I am new to this world. I would appreciate your help.

    • @SuperYuri009
      @SuperYuri009 3 месяца назад

      Docker adds complexity to the tool. The more complex the mechanism, the more chances there are to make a mistake somewhere. And the more chances there are that it will break.

    • @computingpower
      @computingpower 3 месяца назад

      Hello, thanks for explaining it! Precisely, Docker is not yet supported on AWS Lambda out of the box. You can still make it work with docs.aws.amazon.com/lambda/latest/dg/images-create.html but it requires a lot more of work

    • @cadc-pn1ir
      @cadc-pn1ir 3 месяца назад

      Thank you so much both of you for replying. I realized deploying it at in lambda using docker creates big overhead. Deploying in ec2 instance using docker suited better for my purpose 😊

    • @computingpower
      @computingpower 3 месяца назад

      @@cadc-pn1ir Awesome! For docker (single Docker image), you can also use ElasticBeanstalk. For multiple docker images, ECS might also work really well

  • @CarlinGebyte
    @CarlinGebyte 3 месяца назад

    Thanks mate, U're great

  • @devtrainning
    @devtrainning 4 месяца назад

    Thanks man

    • @computingpower
      @computingpower 4 месяца назад

      My pleasure! If you want to see a video about a specific topic here, please let me know!

  • @00000a0009
    @00000a0009 4 месяца назад

    Hi! Where do I find the secrets in AWS? Thanks!

    • @computingpower
      @computingpower 4 месяца назад

      Hello, so for secrets on AWS Lambda, there are three main ways to do it: 1. Environment variables directly from the Lambda function at the configurations page (only for that specific lambda function) 2. Using Systems Manager - Parameter Store (better to reuse the same secrets for multiple services on AWS) 3. Using AWS Secrets - Similar to Parameter Store, but it's more expensive but useful when you need automated rotation of passwords

  • @SkillnoMusic
    @SkillnoMusic 4 месяца назад

    hi, where can we see the nestjs logs?

    • @computingpower
      @computingpower 4 месяца назад

      Hello, when an application runs on ElasticBeanstalk, you can find its logs on Logs section on ElasticBeanstalk console for your created environment. 1. Go to your deployed app on ElasticBeanstalk 2. Go to logs section 3. Click on dropdown menu and select either last 100 lines or entire logs for your app (each option can be better on different scenarios)

    • @SkillnoMusic
      @SkillnoMusic 4 месяца назад

      @@computingpower thx

  • @jmc1091
    @jmc1091 4 месяца назад

    Thanks bro. this is best video for first CI/CD project build. :)

    • @computingpower
      @computingpower 4 месяца назад

      I’m glad you liked it ! 🙌🏼

  • @chinmayraichur8984
    @chinmayraichur8984 4 месяца назад

    What about the scenario where we have a docker-compose for 2 two containers (1 for a db and 1 for api) ? Can you please tell the steps for that?

    • @computingpower
      @computingpower 4 месяца назад

      Hello! If you have more than one Docker container, it’s recommended to use ECS instead of ElasticBeanstalk.

    • @computingpower
      @computingpower 4 месяца назад

      Maybe these videos can help ruclips.net/video/00I3czV8guk/видео.html ruclips.net/video/wLsWALjM-Uk/видео.html ECS documentation: docs.aws.amazon.com/ecs/

  • @dylanpavon_
    @dylanpavon_ 4 месяца назад

    Adorei 👏🏾👏🏾👏🏾

  • @ElevenLUIS
    @ElevenLUIS 4 месяца назад

    Great video, all too well explained. I am trying to work on a personal project that needs exactly this but the written files all end up being corrupted. I am using the latest sd3 model, I see the buffer and no errors, any ideas as to what to look for?

    • @computingpower
      @computingpower 4 месяца назад

      Hello! I have not yet tested with the latest Sd3 model, but I can do it and get back to you!

  • @HungNguyen-tq1bn
    @HungNguyen-tq1bn 4 месяца назад

    Hi. How about Comfy ui? Can we set up comfyui on AWS? I wonder

    • @computingpower
      @computingpower 4 месяца назад

      Hello! I'm not familiar with comfyui. Are you referring to this? github.com/comfyanonymous/ComfyUI

  • @KaushalKumarGupta22bcs041
    @KaushalKumarGupta22bcs041 5 месяцев назад

    thanks

  • @rodsrap
    @rodsrap 5 месяцев назад

    fully detailed!

  • @Руслан-д8в2ы
    @Руслан-д8в2ы 6 месяцев назад

    Подскажите как прослушивать @On('text') в разных файлах ....update.ts? Хочу раскидать код по разным файлам, что б было проще ориентироваться.

    • @computingpower
      @computingpower 5 месяцев назад

      Привет! В этом случае у вас есть только один слушатель от Telegram. Вы могли бы создать подмодули в слое сервиса и передавать сообщение в различные модули в зависимости от полученного параметра или информации в текстовом сообщении.

  • @dddoes9528
    @dddoes9528 6 месяцев назад

    great tips ,looking my way to get a job it definitely helps

    • @computingpower
      @computingpower 6 месяцев назад

      Good luck on your journey 🙌🏼

  • @karlstein9572
    @karlstein9572 6 месяцев назад

    Perfect, I liked the video, well explained, with vue on what you did, great rythm and nice background music.

  • @gustavostnt
    @gustavostnt 6 месяцев назад

    After 3 days of trying to get it to work, I'm giving up

    • @computingpower
      @computingpower 6 месяцев назад

      Hey what was the problem?

    • @gustavostnt
      @gustavostnt 6 месяцев назад

      @@computingpower It just complains that it expected my app to be version "sample" instead of 1

    • @computingpower
      @computingpower 6 месяцев назад

      @@gustavostnt Is this on the ElasticBeanstalk console?

    • @gustavostnt
      @gustavostnt 6 месяцев назад

      @@computingpower Yes, the web UI. I'll be using just regular RDS + EC2 for now

  • @furkanyildirimSU
    @furkanyildirimSU 6 месяцев назад

    I want to publish my app on 8000 port. So, what changes should I make?

    • @computingpower
      @computingpower 6 месяцев назад

      Hello, on your task definition on ECS, you will have to update the Port mapping to use port 8000. docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#:~:text=instance%20memory%20.-,Port%20mappings,-portMappings

  • @paha-sk1xz
    @paha-sk1xz 6 месяцев назад

    hi, can I use the api to find out how many characters I have left to use?

    • @computingpower
      @computingpower 6 месяцев назад

      Hello, yes, you can do it! There is an endpoint to get information about your account and available quota elevenlabs.io/docs/api-reference/get-user-info

    • @paha-sk1xz
      @paha-sk1xz 6 месяцев назад

      @@computingpower thanks!

  • @patriciodilet9192
    @patriciodilet9192 6 месяцев назад

    I cannot do POST, now I'm get 404 not found (using repo code), but y can call get and getall. Any suggestion? thanks

    • @computingpower
      @computingpower 6 месяцев назад

      Hello! Have you been able to check if you created the POST route correctly? When making the request, you will have to pass the controller route + endpoint route, like this @Controller('dogs') export class DogsController { @Post("something") create(): string { return 'This action adds a new dog'; } } then you will have to make a request like this POST to localhost:<PORT>/dogs/something docs.nestjs.com/controllers

  • @arielro85
    @arielro85 6 месяцев назад

    If im not wrong, you can use bcrypt-js and dont depend on python. Awesome video :)

    • @computingpower
      @computingpower 6 месяцев назад

      Interesting! I didn’t know about that. Thanks for letting me know :)

  • @3d-review
    @3d-review 6 месяцев назад

    thank you very much!

  • @abdulmujeebabdulwaheed5535
    @abdulmujeebabdulwaheed5535 6 месяцев назад

    Hey bro where can i get your code so i could just copy and paste then edit. If you have a github it will be better for you and your channel Keep it up 👍

    • @computingpower
      @computingpower 6 месяцев назад

      Hello! I’m glad you liked the content 🙌🏼 Here it is the GitHub link for this project github.com/Mpcsj-Computing/ai-voice-assistant/tree/feat/video-elevenlabs-api/backend

  • @CINECOMBO
    @CINECOMBO 7 месяцев назад

    is this api is fully free?

    • @computingpower
      @computingpower 7 месяцев назад

      Hello, they have a free quota for anyone to test their API, which offers 10 thousand characters (roughly 10 min audio) per month for free. For more than this, you will have to buy a subscription elevenlabs.io/pricing

  • @nicolassuarez2933
    @nicolassuarez2933 7 месяцев назад

    Outstanding! Best of its kind :)

    • @computingpower
      @computingpower 7 месяцев назад

      I'm glad you like it :) If you want to see some specific topics here on this channel, please let me know!

  • @ScarlettDanger
    @ScarlettDanger 7 месяцев назад

    Great tutorial!

    • @computingpower
      @computingpower 7 месяцев назад

      Um glad you liked it 🙌🏼 If you any more content about a specific topic, please let me know!

  • @ElmehdiGrola
    @ElmehdiGrola 7 месяцев назад

    Thank you for the value you provide and knowledge you share! and I have a small request i you don't mind: please stop using music in the background, cause i put my own while learning 🙏😅