React Contact Manager App | CRUD | React JS Tutorial 2022 | NAVEEN SAGGAM

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • #React , #CRUD , #ReactProject
    Support Me @ : / uibrainstechnologies
    Download Source Code :
    Step 1 : GPAY / PayTM/ PhonePe +91 - 98 44 80 45 33 with 100 Indian Rupees
    Step 2 : Send WhatsApp message to same number with payment screen shot.
    Subscribe Our Channel : ruclips.net/user/UiBrainsTec...
    Join Our Facebook Group : / uibrains
    My GitHub Page Link : github.com/thenaveensaggam/
    Our Website : uibrains.com/
    ** Chapters **
    00:00 Introduction to the Application
    05:55 Project Setup & Creation
    11:55 Installation of Bootstrap & Font Awesome
    20:11 Installation of Axois & React Router Dom
    27:33 React Router Configuration
    31:30 Navbar Creation
    33:10 Contact List Page Development Static Data
    48:50 Add Contact Page & Edit Contact Page Development Static Data
    57:17 View Contact Page Development Static Data
    1:01:06 Backend Server Setup Json-server
    1:11:36 Backend API Testing
    1:16:50 React Services Creation
    1:18:48 Contact List Page with Server Data
    1:32:26 View Contact Page with Server Data
    1:48:06 Create Contact Page with Server Data
    2:06:30 Update Contact Page with Server Data
    2:24:33 Delete Contact Page with Server Data
    2:28:55 Search Filter on Contacts Data
    **Web Development 2022*
    HTML5 Tutorial in Telugu : ruclips.net/user/UiBrainsTec...
    • 01 Introduction HTML i...
    HTML5 Tutorial :ruclips.net/user/UiBrainsTec...
    • 01 HTML Tutorial for B...
    CSS3 Tutorial : ruclips.net/user/UiBrainsTec...
    • 01 Introduction to CSS...
    JavaScript Tutorial :ruclips.net/user/UiBrainsTec...
    • 02. What is JavaScript...
    Bootstrap Tutorial : ruclips.net/user/UiBrainsTec...
    • Bootstrap 4 Tutorial f...
    AJAX Tutorial :ruclips.net/user/UiBrainsTec...
    • 01. Introduction to AJ...
    TypeScript Tutorial :ruclips.net/user/UiBrainsTec...
    • 01 Introduction to Typ...
    Angular Tutorial :ruclips.net/user/UiBrainsTec...
    • 01-Introduction to Ang...
    MEAN Stack Tutorial : ruclips.net/user/UiBrainsTec...
    • 01 Introduction to MEA...
    React JS Tutorial :ruclips.net/user/UiBrainsTec...
    • 01 React JS Tech Serie...
    Node JS with JavaScript Tutorial :ruclips.net/user/UiBrainsTec...
    • Angular 8 Online Train...
    Node JS with TypeScript Tutorial :ruclips.net/user/UiBrainsTec...
    • 01 Introduction Node J...
    Node JS Authentication Tutorial :ruclips.net/user/UiBrainsTec...
    • 01 EventsNow Introduct...
    Coding Practice Examples :ruclips.net/user/UiBrainsTec...
    • 07 Codingbat | Warmup ...
    ** Crash Courses **
    Bootstrap 5 Crash Course :ruclips.net/user/UiBrainsTec...
    • Bootstrap 5 Crash Cour...
    ⭐️ Hashtags ⭐️
    #HTML #beginners #tutorial
    Disclaimer:
    It doesn't feel good to have a disclaimer in every video but this is how the world is right now.
    All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

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

  • @parvathyvd
    @parvathyvd Год назад +10

    I have a doubt regarding the async await part for getting contacts . I heard using async directly inside useEffect is not a good practice
    / ❌ Don't do this!
    useEffect(async () => {
    const users = await fetchUsers();
    setUsers(users);
    return () => {
    // this never gets called, hello memory leaks...
    };
    }, []);
    This WORKS, but you should avoid it. Why? Because React’s useEffect hook expects a cleanup function returned from it which is called when the component unmounts. Using an async function here will cause a bug as the cleanup function will never get called.
    use this way instead
    useEffect(() => {
    const getUsers = async () => {
    const users = await fetchUsers();
    setUsers(users);
    };
    getUsers(); // run it, run it
    return () => {
    // this now gets called when the component unmounts
    };
    }, []);
    Thanks

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

    Awesome tutorial, great job

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

    thank you!
    you really help newcomers like me ✌

  • @ibrahimal-habian4796
    @ibrahimal-habian4796 Год назад

    Thank you for this tutorial , I want to ask if there is any configuration if I used asp core api , I mean , is it same as json server? .

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

    Excellent project sir, I love it ,

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

    Hi sir ,thanks for uploading such wonderful content...😍

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

    awesome tutorial, thank you sir

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

    Fantastic tutorial!!

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

    It is a nice tutorial, thank you

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

    Superb! Tutorial 😊

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

    Can anyone tell me how to deploy this project ?? Both server part and src-component. I made delopy using npm build and netlify but contact detail is not displaying..pls help

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

    Awesome Sir.

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

    Thak you for sharing.😍

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

    Hello sir. Please I getting this error when using the POST API function error: Unhandled Runtime Error
    TypeError: func.apply is not a function
    Call Stack
    HTMLUnknownElement.callCallback

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

    Hello everyone. I'm facing an issue while launching my app after intalling firebase. The error message is "Module not found: Error: Package path . is not exported from package". It's asking me to see exports field in package.json
    Can someone help me go through this please?

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

    I made the same project with your tutorial it was awesome.
    Now can you please make a video on hosting the contact-manager app on anywhere.

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

    great sir

  • @saranyaa5642
    @saranyaa5642 10 месяцев назад

    Why can't you use this db. Json file inside src. Why we have to go for separate folder

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

    Thank you sir
    💻

  • @saranyaa5642
    @saranyaa5642 10 месяцев назад

    Sir please deploy it in netlify and show us. Am having error after deployed in netlify. I put separate folder for server. Is this the issue. If i run locally by starting both client and server, it is working properly. But after deployment it is not working it cannot able to get /contacts.please help me

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

    I have a doubt that when we use json-server and json file, when we deploy the app will it works.

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

    how to create a react using node or firebase, pls make one project of it?

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

    Sir Can you please do a tutorial on movie ticket boking with MERN stack ?

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

    You should mention it's a class you are using

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

    ty so much sir

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

    Great tutorial ! I'm stuck in the server side rending part and GITHUB link doesn't have src folder. Can you upload it please?

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

      1:12:28 he had open the o/p of json contacts file in chrome there u can see the data or take a screen shot

  • @nice.hemant
    @nice.hemant 9 месяцев назад +1

    dont know what methods you are using but after 1:16:00 nothing is running. This code is shows error where using colon(:) useState(initialState:{ , useEffect(effects: ....... and so many errors.

  • @user-yu6yn6zs8n
    @user-yu6yn6zs8n 4 месяца назад

    super bro, bro could u plz share Source Code plz

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

    so there is one problem with the database when u are trying to open it in a new browser so the record u are trying to select for groups so should not accessible so what actually solutions for the same try that once u will get it and nice thing learn

  • @tahaali9543
    @tahaali9543 8 месяцев назад

    hello sir, you are using useEffect to fetch data from json u are doing wrong async
    because useeffect return sybchronous not asynchronous

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

    thank you

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

    Sir please make video on how to deploy this project

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

    thanks alot

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

    sir how do i do this with spring boot please help me

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

    I needed this.. Thanks a lot It's too good

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

    Felicitaciones y gracias por éste tremendo tutorial, está de lujo, pero el vsc me dá error en el 1:19:00, no me reconoce y no puedo avanzar... nosé cuál es mi error... ayuda por favor.
    HELP

  • @tahaali9543
    @tahaali9543 8 месяцев назад

    not able to get data into console using useEffect

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

    Is search bar. Working

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

    Hi, when I try to use ViewContacts to get single contactId, I get an error 404 not found. What could have been the cause?

  • @stuartdaniells5204
    @stuartdaniells5204 Год назад +3

    To correct the useEffect() hook error - async await part for getting contacts - change your code to:
    useEffect(() => {
    async function handleResp(){
    try{}
    catch{}
    };
    handleResp();
    }, []);
    -------------------------
    New version of react throws errors if you use async () => {}

    • @mayursarode8909
      @mayursarode8909 8 месяцев назад

      Thank You So Much For This comment bro Bhai Ek din pura gaya Aur dusare din comment dekhne laga to Aapka Comment Dikha Aur Error Fix Huaa Etni Khushi horahi Hai kya Bata U Apko THenk You So Much Once Again Bro

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

    Thnx sir

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

    Bro Git me src file bhi upload kro

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

    Try to used dark black or good theme for vs code because code visibility is not good.

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

      its not visual studio it is web storm default theme is like this.

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

    1:19:15 i am getting syntax error from there. Its showing
    Error: The type cast expression is expected to be wrapped with parenthesis when using get function ,Expected ',' etc

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

    sir while opening this project in new window , created contacts are not synching. can you clarify this

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

    how come async await work with useEffect, for it was getting error.

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

      yo también estoy teniendo problemas con el useEffect

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

      @@cristhianosoriosuarez4603 useEffect bever return anything we have to create new function for async await

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

    how to solve this

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

    hello sir ,thanks for uploading such wonderful content❤ .just have a doubt ..
    what does ...state means in setState function?

    • @00xfitx2
      @00xfitx2 2 года назад

      ... is the spread operator
      so he is passing the actual state with "...state" and then making other changes.

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

      @@00xfitx2 do you know at1:19:16 how to get the "initialState:" on line 6?
      what extension or plugin is it?

    • @00xfitx2
      @00xfitx2 Год назад

      @@jackynewton5735 i don't know, he's using webStorm IDE, it can be from there :)

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

      What are you doing when he explaining such a stupid question

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

    Thanks, already subscribed your channel

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

    at 1:19:16 how do you get the "initialState:" on line 6?
    what extension or plugin is it?
    Thank you for this awesome tutorial, It's helping me tons!

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

      Hola,yo también tengo ésa pregunta, él vsc me da error justamente en éste momento, no puedo avanzar y no sé lo que es, simplemente me atasqué ahí. Estoy desesperada porque no he podido descubrir la respuesta.

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

      @@gabyzapata9183 use direct object without giving it a name (initialState) your problem will be solved. But then again you will get stuck in contactList page where you will call your data from json-server.

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

      Sir when I use the async based call back i get an error plz solve it

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

    🔥🔥🥰🥰🥰🥰

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

    Stuck at 1:21:08 when I inspect on application it shows error not able to se the array of user

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

      its resolved or not?

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

      Resolved

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

      @@pochankiTuber me to

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

      @@pochankiTuber How did you resolve the issue? I'm getting a "useEffect must not return anything besides a function...instead, write async function inside your effect and call it immediately."

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

    I am getting an error
    Failed to compile.
    ./src/components/contacts/ContactList/ContactList.jsx
    Line 6: Parsing error: The type cast expression is expected to be wrapped with parenthesis.
    4 |
    5 | let ContactList = () => {
    > 6 | let [state,setState] = useState(initialState:{
    | ^
    7 | loading :false,
    8 | contacts : [],
    9 | errorMessage : ''

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

    Src folder bro

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

    Src file..

  • @dadbrasil
    @dadbrasil 2 года назад +4

    This should not be called "tutorial", there is plenty of code that is being added by Webstorm itself and you are not showing it at all...

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

    this app so ussles

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

    Deepak Kadela thanks and one more error geeting below code
    src/components/contacts/ContactList/ContactList.jsx
    Line 11: Parsing error: Unexpected token, expected ","
    9 | })
    10 |
    > 11 | useEffect (effect: async() => {
    | ^
    12 | try {
    13 | let response = await ContactService.getAllContacts();
    14 | console.log(response.data)