#67 MVC Architecture in NODE JS | Using MongoDB with Express| A Complete NODE JS Course

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 10

  • @SharQawyCS
    @SharQawyCS 2 місяці тому

    Good topic

  • @olamijiakeemodeyemi9320
    @olamijiakeemodeyemi9320 Рік тому

    Good tutorial on NodeJS and MongoDB you have here. God bless your contribution. Is there Github clone for this NodeJS MongoDB video classes? It will better help student t learn faster rather than typing one after the other while the video plays on.

  • @hassannouri9796
    @hassannouri9796 4 місяці тому

    ❤❤❤

  • @AberrahimCoder
    @AberrahimCoder Рік тому +1

    why you could delete app.listen without any problem ???

  • @kishansingh-yw5ul
    @kishansingh-yw5ul Рік тому

    hello sir can you please tell me in which video's description you have inserted the code for curd operations I have written code for post req data is inserted in json file but it is not showing any response in postman
    const createMovie=(req,res)=>{
    const newId=movies[movies.length - 1].id + 1;
    const newMovie=Object.assign({id:newId},req.body);
    movies.push(newMovie);
    //201 we added new movie
    fs.writeFileSync('./data/movies.json',JSON.stringify(movies),(err)=>{
    console.log(err);
    res.status(201).json({
    status:"sucescc",
    data:{
    movies:newMovie
    }
    })
    })
    }
    app.post('/api/v1/movies',createMovie);

  • @littlewonder8641
    @littlewonder8641 Рік тому

    🙏🙏🙏

  • @rishiraj2548
    @rishiraj2548 Рік тому

    🙏👍👍

  • @Pareshbpatel
    @Pareshbpatel Рік тому

    {2023-10-05}

  • @mohamedibrahemsaad573
    @mohamedibrahemsaad573 2 місяці тому

    {23-9-2024}