Realtime Chat App in React Native and AWS (Backend) 🔴

Поделиться
HTML-код
  • Опубликовано: 13 май 2024
  • Check out the NEW updated version of this build:
    ruclips.net/user/livemxXJSVW4tRY
    Let's build a Real time Chat mobile application in React Native based on Whatsapp UI design.
    📚 Enroll NOW for "The Full-stack Mobile Developer"
    academy.notjust.dev/
    🎒 Download the Asset Bundle (Images, Dummy data, PDF presentation): assets.notjust.dev/whatsapp
    🐱‍💻 Source code:
    github.com/Savinvadim1312/Wha...
    💬 Join the notJust Development gang and let's build together:
    / discord
    If you are a beginner that wants to learn javascript and react native, or and advanced javascript developer that wants to get into mobile development using react native then this Livestream is for you. This is a perfect opportunity to follow along and build this application together with us, and add it to your portfolio as it will help you land your next job. If you finish the app, tag me on social media and I will give you feedback.
    We will start building the Whatsapp clone from scratch, starting from setting up a React Native project using Expo and finishing with connecting the application with a GraphQL backend using AWS Amplify. We will walk through designing the UI layout of the app, structuring everything in components, and putting everything together. We will also implement navigation between screens, header bars, and tab bars for the Whatsapp menu.
    For the backend, we will be using AWS Amplify, which is an amazing combination of tools and services from AWS, that helps us build mobile and web applications faster. It offers pre-made authentication components and flows, database, API (REST and GraphQL), storage, and much more. We will be using Graphql subscriptions for the realtime chat functionalities
    Doing the Whatsapp clone yourself is a great opportunity to practice React Native, modern Javascript, Typescript, AWS Amplify. We are always trying to use the latest technologies and best practices, so that's another opportunity to learn something new, being it functional components, hooks, state, navigations or AWS and Amplify.
    Tag me on social media when you finish the Whatsapp Clone, and I will give you feedback on your code.
    Timecodes
    0:00 Intro
    3:33 Demo of UI part
    9:59 Intro to Amplify
    12:17 Setup AWS Amplify project
    22:22 Implement Authentication
    34:24 GraphQL API - User Model
    1:24:13 Display Users from API
    1:34:50 Users Chat Rooms
    2:43:45 Messages
    3:20:30 Demo
    LinkedIn: / vadimsavin
    IG: / vadimsavin0
    Twitter: / savinvadim_
    #VadimSavin #notejust.dev #notJustDevelopment
  • НаукаНаука

Комментарии • 115

  • @VikramSingh-qg3nh
    @VikramSingh-qg3nh 2 года назад +2

    I'm a newcomer to your channel. The content you've been putting out is truly amazing. So helpful while following it along. Kudos

  • @bradike1
    @bradike1 3 года назад +1

    Vad this is so great, man. I recently started using Amplify for my serverless backend with RN apps and i'm been checking out graphQL. I was trying to teach myself graphQL based on the AWS example chat app and its not nearly as helpful as this video. Your explanation of the schema and connections will really help others too because its hard to find good graphQL schemas online that really explain or work with AWS appsync. Thanks so much for making this video and keep up the good work!

  • @isanioka
    @isanioka 3 года назад +7

    This lesson is harder than first video, but it still very interesting! Thank you!

  • @endbringer121
    @endbringer121 3 года назад +1

    Great tutorial, Vadim! This is the second that I follow, I am learning much here!

  • @notjustdev
    @notjustdev  3 года назад

    🎒 Download the Asset Bundle: assets.notjust.dev/whatsapp
    📚 Enroll in "The Full-stack Mobile Developer" and become a 6-figure dev in 2021: academy.notjust.dev/

  • @ricardoperovano
    @ricardoperovano 3 года назад +1

    Great Work, congratulations!

  • @shodeolumide2140
    @shodeolumide2140 2 года назад +1

    Thank you very much for this !!! You just got new subscribers 🙂🤗

  • @brekele8070
    @brekele8070 3 года назад +1

    You are amazing bro! Great content

  • @imPriyankCoder
    @imPriyankCoder 3 года назад +1

    it's almost weekend wonder which new tutorial is coming :)

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

    hello, I am Mr. Sonam I'm a newcomer to your channel. and happy to be part of this group

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

    thanks so much for this tutorial

  • @lcd11001
    @lcd11001 2 года назад

    1:21:18 Can we named the table in format proj_table_name for easier filter / recognize when we developed multiple projects? Or the DynamoDB will auto filter them by project?

  • @MangoFlamingo
    @MangoFlamingo 2 года назад

    Hi Vad! I was wondering if you have a github example that is a AWS react Native/Expo that use microservices?

  • @Ibrahim-fh6kv
    @Ibrahim-fh6kv 3 года назад

    Hey bro best react native tutorial on youtube and can you please continue with the Instagram app.

  • @sebastianwilliams8139
    @sebastianwilliams8139 2 года назад

    Hey Vad just wondering, how can we be able to run the app per environment? Can we use react-native-config and define there the things needed like the graphql endpoint, region, etc so we can still run the app and choose whether to build it in dev, staging, or prod?

  • @ashwanipanchal7467
    @ashwanipanchal7467 Год назад

    I love your all videos but i am not able to find your video call app. Can you please share the link of that playlist or video ?
    Thank you so much 🥰

  • @nimbigo
    @nimbigo 3 года назад

    How to import a dynamic mutation and let the value entered get stored in the database?

  • @junkaihwong8721
    @junkaihwong8721 2 года назад

    Hi Vadim! Have been watching your content. it's super cool :D
    I have a qn. i want to add total number of unread messages by user for each chat (group chat too) and i am wondering how to go about doing it.
    Would appreciate any guidance. thanks :D

  • @horaderelaxar4653
    @horaderelaxar4653 2 года назад

    Editou onde? Ficou muito bom

  • @devsmith948
    @devsmith948 3 года назад

    Really useful video!!!
    I have one question.
    Can I customize SignUp and Signin screen? for example, I want to add more information in siginUp screen.

    • @notjustdev
      @notjustdev  3 года назад +2

      Yes you can design them on your own, and call the signIn method that you can import from 'aws-amplify'

  • @usher7med1
    @usher7med1 3 года назад +1

    do have a branch that contains only FrontEnd?? i want to make backend by myself i dont like AWS amplify.
    another think... its full of error kind of unable to resolve './aws-exports.js'

  • @siddharthanelango6034
    @siddharthanelango6034 3 года назад

    kindly help me bro, did expo supports video call,if supports can you provide any example for that

  • @WinTunMMOCC
    @WinTunMMOCC Год назад

    You have to use graphql via appsync and how to over come limit when the record are growing too many.

  • @bestelectrocity
    @bestelectrocity 3 года назад +4

    You're the best Vadim :) , can you make tutorial on Uber Eats with Firebase BackEnd if its possible, I would greatly appreciate :)

    • @notjustdev
      @notjustdev  3 года назад +2

      Thanks for the suggestion

  • @CarlosManuelGv
    @CarlosManuelGv 2 года назад

    Hi Vadim, first of all, thank you very much for all of this!!! I have a question, did you know that there is a 100 subscriptions limit using Appsync from every client? A few users on your app would make it crash, because you can't subscribe to conversations. Did you think about it? do you have a solution for this? We are creating a chat service for our app and we just realized this, any suggestions or help would be much appreciated :) thank you very much.

  • @mateonavarrette4864
    @mateonavarrette4864 3 года назад

    Hi Vadim, great tutorials so far. I completed the frontend now I'm starting here on the backend.
    I had a question. So after I ran amplify api and set that up, I ran amplify push. It was all going well then I got an error. It popped up at 46:28, I never received a GraphQL endpoint:
    EROFS: read-only file system, mkdir '/graphql' An error occurred during the push operation: EROFS: read-only file system, mkdir '/graphql'
    I then ran sudo amplify push but then I got a new error:
    An error occurred during the push operation: EACCES: permission denied, unlink '/Users/mateonavarrette/Desktop/react-native-demo/WhatsAppClone/amplify/#current-cloud-backend/amplify-meta.json'
    I couldn't figure out how to get rid of these, so I just went to the next step which was amplify console api, and there doesn't seem to be anything wrong - as my screen looks like yours. Is this something I should still be concerned about? If anyone else has any idea too, please let me know. Thanks!

    • @mateonavarrette4864
      @mateonavarrette4864 3 года назад

      I see a few minutes later you reference the src directory to access the queries.ts file. Looks like I didn't generate one because of my first error. If anyone has any tips let me know!

  • @lcd11001
    @lcd11001 2 года назад

    could you pls share your experience how to make a video call with AWS? Thank you

  • @bellomayowa6993
    @bellomayowa6993 2 года назад

    Hello, thanks so much for this tutorial, but I have a question, is it possible to add online functionality and when a user is typing? looking forward to your answer

    • @notjustdev
      @notjustdev  2 года назад

      It would be possible to do it using state, as you provide a hook for the UI to know when to re-render your component. Give it a google search 😄

  • @chakibsalah7287
    @chakibsalah7287 3 года назад

    Nice contents and a lot of useful infos;It would be helpful if you provide timelines;

    • @notjustdev
      @notjustdev  3 года назад +1

      Hey, thanks a lot for support. I will take some time and add timestamps to the videos

  • @DuyTran-ss4lu
    @DuyTran-ss4lu 2 года назад +1

    You're the best

  • @balajivenkatraman5271
    @balajivenkatraman5271 2 года назад

    Can we detect online/offline status of a user from AWS Appsync. Because i tried to update a field to offline when the user goes offline. But i did not work since when i go offline my API will fail to update

  • @sebastianwilliams8139
    @sebastianwilliams8139 Год назад

    Is there an updated graphql schema for this one?

  • @shodeolumide2140
    @shodeolumide2140 2 года назад

    Please what screen recording app did u use to achieve this. Or which can you recommend please?

  • @devsmith948
    @devsmith948 3 года назад +2

    And I can't see qureries.ts file in src folder.
    Maybe I made mistake for amplify?
    Can you explain the reason?

    • @notjustdev
      @notjustdev  3 года назад

      Make sure that when asked "do you want to autogenerate code for amplify queries" you answer yes

    • @devsmith948
      @devsmith948 3 года назад

      @@notjustdev Thanks for your response.
      I will check it soon.

  • @techreeviews3671
    @techreeviews3671 2 года назад

    you are super humen dude

  • @ayodeleayoola9644
    @ayodeleayoola9644 3 года назад +1

    Is there no package for parsing form data like it is in react which is formidable? Like uploading the profile picture from the front end into the backend instead of using image dummy data

    • @notjustdev
      @notjustdev  3 года назад

      I could have implemented that, but for the sake of simplicity, I decided to go with dummy data images

    • @ayodeleayoola9644
      @ayodeleayoola9644 3 года назад

      How do I do that?. Am interested.

  • @maneeshmanorenj6311
    @maneeshmanorenj6311 3 года назад

    Does it have audio message and notifications

  • @cubedev4838
    @cubedev4838 3 года назад

    Can u make more functonalities like upload image, video

  • @user-ws4rn9uz3k
    @user-ws4rn9uz3k 2 месяца назад

    error coming on UserChatRoom
    Failed to retrieve 35 record(s)
    9 failed with the error: Field user cannot be set to null since its a required field.
    35 failed with the error: Field chatRoom cannot be set to null since its a required field.
    What to do?

  • @Blocker407
    @Blocker407 2 года назад

    Does the app also have a web interface?

  • @dilan3159
    @dilan3159 3 года назад +1

    Cool! Could use something like easybase.io too

  • @mavhias
    @mavhias 2 года назад +1

    Most of plugins are deprecated ! A bit difficult to follow,but still an extremly good quality content :) Strongly recommand this video to every fresh React dev

    • @notjustdev
      @notjustdev  2 года назад +1

      Everything moves so fast in our industry that a lot of the plugins have been updated/deprecated from that time. Check out some of the newest builds

  • @naumanali8357
    @naumanali8357 Год назад +1

    can you please update graphql schema

  • @creative-commons-videos
    @creative-commons-videos 3 года назад +1

    please help me, i really want to use AWS Amplify for my existing application, it's in laravel now but want to try GraphQL and Amplify, but i don't know how can i implement queues, like in laravel it is super easy to use, My app is kind of Quizzing app where user join a quiz and submit it, and after a while ranking is calculated based on their score, so as soon as user join a quiz I want to notify them when quiz start, also when results are declare i want to notify them also, currently what i am doing is when any quiz is created, i add queues based on expiry, let say current time is 1:00 PM and quiz start at 5:00 PM, when quiz is created i add queue that will trigger on 5:00 PM to notify users to start quiz and also one more queue right after 15 minutes when results are declare

    • @notjustdev
      @notjustdev  3 года назад +1

      The queues on AWS are implemented in the AWS SQS service, check it out. I integrated the laravel queues system with the SQS. The only downside is that SQS support delayed events for app to 24 hours (if I am not mistaken)

  • @siddhi.classes.jalgaon6685
    @siddhi.classes.jalgaon6685 3 года назад +2

    Unable to resolve "./aws-exports" from "App.tsx" I am facing this issue please help

    • @sdljfgsdfg
      @sdljfgsdfg 3 года назад +3

      I currently fixed this issue for myself. I am in VSCODE you need to rename src/aws-exports.js to src/aws-export.ts. then go into the .gitignore and change it to .ts there too. here is a post on github github.com/aws-amplify/amplify-js/issues/222

  • @imcoder5888
    @imcoder5888 2 года назад

    help me! it running normal but have warning: WARN Possible Unhandled Promise Rejection (id: 0):
    Error: No credentials, applicationId or region

  • @TopAfghanMusic01
    @TopAfghanMusic01 3 года назад +1

    Hi Vadim, thanks for this tutorial. I have an error about Aws amplify. Is this service free for using?
    I am from Afghanistan, we don't have any online banking account.
    I got an error about subscription, please reply

    • @notjustdev
      @notjustdev  3 года назад +3

      You need a valid credit card when registering on AWS, though most services on aws have a free tier which is more than enough for testing the app while in development

    • @TopAfghanMusic01
      @TopAfghanMusic01 3 года назад

      @@notjustdev
      OK. Thanks a lot 🙏

  • @FaisalKhan-ce2qu
    @FaisalKhan-ce2qu 3 года назад

    *Headsup* things really start to turn after 1:38:00 when we work on schema! LOL!

  • @sourabpramanik996
    @sourabpramanik996 3 года назад

    Hey Vadim, hope you aredoing good. I am stuck in the backend, I am trying to push the User model but getting this error "EACCES: permission denied, open '../../../../../graphql/schema.json'". Please help out

  • @852derek852
    @852derek852 2 года назад

    Is it possible for a malicious user modify the app to read other people’s messages?

  • @sebastianwilliams8139
    @sebastianwilliams8139 2 года назад

    How can we implement the group messages?

  • @sourabpramanik996
    @sourabpramanik996 3 года назад

    Hello, in ContactListItem the input of newChatRoomData is giving error "variable input has coerced Null value for NonNull tyoe ID!"

    • @notjustdev
      @notjustdev  3 года назад

      That means that you are sending a undefined value to the ID. I can guess that it fails to create a chatRoom, and when you are trying to access the id of the chatRoom it gives undefined. Try to console log the result you receive from creating a new chatRoom

    • @sourabpramanik996
      @sourabpramanik996 3 года назад

      @@notjustdev but in your code you also did the same thing, left the input blank. I really don't understand why it's not working here.

    • @notjustdev
      @notjustdev  3 года назад +1

      @@sourabpramanik996 You might have done a type. Just console log and you will see

    • @nairgh
      @nairgh 3 года назад

      @@notjustdev It gives me error first time i tried like your code. But when i use your repo code it worked
      createChatRoom, {
      input: {
      lastMessageID: " zz....16"
      }
      }

  • @yogeshjadhav5851
    @yogeshjadhav5851 3 года назад +5

    pls make one tutorial on Uber EATS - live location tracking of driver with map

    • @notjustdev
      @notjustdev  3 года назад +6

      Thanks, I will take it into consideration

  • @aamanimachani1715
    @aamanimachani1715 2 года назад

    Please make a video on sending images and documents in whatsapp clone

  • @MangoFlamingo
    @MangoFlamingo 2 года назад

    Could we have a tutorial with App Engine?

  • @ayodeleayoola9644
    @ayodeleayoola9644 3 года назад +1

    Is there no need for package like socket.io?

    • @notjustdev
      @notjustdev  3 года назад

      nope. we are using graphql subscriptions for that

  • @ankushjoshi706
    @ankushjoshi706 2 года назад

    Is the app completed?

  • @rajpatel9406
    @rajpatel9406 3 года назад +2

    Is there any platflorm where i can ask doubts to you and you can reply me faster like slack

    • @notjustdev
      @notjustdev  3 года назад +1

      Join our discord channel. Link in the description of the video

    • @rajpatel9406
      @rajpatel9406 3 года назад

      @@notjustdev thanks

  • @amanguptadev
    @amanguptadev 3 года назад

    bro i am trying to resolve the duplicate chatroom but still i don't have solution pls suggest me how can i solve it please help me....

    • @sebastianwilliams8139
      @sebastianwilliams8139 2 года назад

      hey, have you resolved this already? I am also curious how to handle duplicate chatroom

  • @poupCode
    @poupCode 2 года назад

    But why dont have component CALL ??????????????????????????

  • @lcd11001
    @lcd11001 2 года назад +1

    [1:23:14] How to remove "back" in navigation?
    ({
    headerLeftLabelVisible: false
    })}
    >

    • @user-bc2lq6xb5h
      @user-bc2lq6xb5h Месяц назад

      2:02

    • @user-bc2lq6xb5h
      @user-bc2lq6xb5h Месяц назад

      3:17 การทำคว 5:21 5:21 5:21 ามสะอาดง่ายและสะดวกสบาย

    • @user-bc2lq6xb5h
      @user-bc2lq6xb5h Месяц назад

      😂🎉😢😅😊😊

  • @danceshorts5801
    @danceshorts5801 2 года назад

    Are you just teaching us,or the app is has functionalities

  • @Mike252911
    @Mike252911 3 года назад

    2:11:10

  • @yi20860
    @yi20860 19 дней назад +1

    1

  • @mayadevikoli9290
    @mayadevikoli9290 3 года назад +1

    heloo

  • @cartiktechnomechnobro9061
    @cartiktechnomechnobro9061 Год назад

    51.13

  • @poupCode
    @poupCode 2 года назад

    Not screen call?????????????????????????????
    fk

  • @princepritam71
    @princepritam71 Год назад

    Very very disappointed. You used AWS and I don't have any card so I couldn't complete the sign up process. I wasn't able to follow along the series any longer. You should have used firebase for this. I followed your frontend video with much hope that I would be able to deploy a fully working react - native application. But now all i am left with is a useless mere ui/ux. Not expected.. very disappointed

    • @notjustdev
      @notjustdev  Год назад

      Sorry to hear that. I am using the technologies that I love and I believe will bring you value in the market. I can recommend you some good tutorials using Firebase. There is a ton out there

  • @555pontifex
    @555pontifex 3 года назад

    audio is awful on this video... boomy, far away..

    • @notjustdev
      @notjustdev  3 года назад

      Agree. It was some time ago, now I bought a better mic

  • @AtikurRahman-im4gc
    @AtikurRahman-im4gc 2 года назад

    The onerous gong gratifyingly risk because insect immunophenotypically bare an a thinkable liquor. like, glistening glorious harmony

  • @berkcan3475
    @berkcan3475 2 года назад

    react native is obsolete, it is very bad investment, learn flutter or people who learning flutter will joke and kid with you in 2 years xD xD