Part 1 | Full Stack Responsive React Movies App With API | MERN Project | React Tutorial

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Hello friends. In this video, we are going to build Fullstack Responsive Movie Website with MERN stack and Themoviedb.
    Demo: moonflix.vercel.app/
    What are the features of this project?
    - Sign up / Sign in
    - Save movie to Favorite list (Remove favorite item)
    - Write review for movie (Delete review)
    - Search movies / tv series / people
    - Light / Dark theme
    What are the technologies in this project?
    - Front end
    - Create react app
    - Material UI
    - SwiperJS
    - React router v6
    - Formik
    - Yup
    - Axios
    - Back end
    - Express rest api
    - Express validator
    - Jsonwebtoken
    - Mongoose
    - Axios
    Don't forget to click the like button and share the video with your friends if you found the video useful.
    Please support me by LIKE, SHARE and SUBSCRIBE, thank you!
    ---- CONTACT
    Facebook: / trananh2001
    Github: github.com/trananhtuat
    ---- SOURCE CODE
    github.com/trananhtuat/fullst...
    ---- RESOURCE
    Create React App: create-react-app.dev/
    Material UI: mui.com/
    Mongoose: mongoosejs.com/
    ExpressJS: expressjs.com/
    Express Validator: express-validator.github.io/d...
    React Router: reactrouter.com/
    Formik: formik.org/
    Yup: github.com/jquense/yup
    Axios: axios-http.com/
    Swiper: swiperjs.com/
    ThemovieDB: www.themoviedb.org
    JWT: github.com/auth0/node-jsonweb...
    ---- TIMESTAMP
    00:00 - Demo
    02:48 - Setup Project
    09:45 - Create Axios Client
    10:37 - Create TMDB Client
    22:55 - Create Models
    33:17 - Create Handlers
    38:15 - Create Token Middleware
    42:15 - User Controller
    53:29 - Media Controller
    01:05:43 - Favorite Controller
    01:11:09 - Person Controller
    01:13:34 - Review Controller
    01:18:56 - User Route
    01:37:26 - Media Route
    01:39:39 - Person Route
    01:41:02 - Review Route
    01:47:05 - Setup Front end Project
    01:53:18 - Folder Structure
    01:54:10 - Api Service
    02:24:16 - Redux Features
    02:35:53 - Make Utils
    02:37:15 - Configs Theme
    02:45:31 - Configs UI
    02:51:03 - Configs Menu
    02:56:46 - Custom Hooks
    02:57:56 - App Layout
    03:08:39 - Routing with React Router v6
    03:26:17 - Global Loading
    03:34:19 - Footer
    03:46:38 - Header
    04:03:47 - User Dropdown Menu
    04:16:29 - End Part 1
    ---- MORE AWESOME VIDEOS
    / tuattrananh
    ----------------------------------------------------------------------------------
    #tuattrananh #React #ReactJS #themoviedb #movies #reactmovies #reactmoviewebsite #JavaScript #JS #HTML #CSS #JavaScript #Ecommerce #slider #responsive #Darkmode #landingpage #landing #Redux #reactredux #reacthook #reacthooks #hooks #router #reactrouter #reactrouterdom #swiperjs #swiperreact #swiper

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

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

    Some error will be fixed on part 2. Sorry about that ❤❤
    ruclips.net/video/Q_uLi4f27Lc/видео.html

    • @user-ux9xw1ln5j
      @user-ux9xw1ln5j Год назад

      Very cool video. Please, please make an admin to CRUD content

    • @user-wc5dw5np4p
      @user-wc5dw5np4p 10 месяцев назад

      cound u help to set spanish lang?

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

      hey bro can you contact me?

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      What can i replace in baseurl

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      ​@@user-sn1vk3bo3c help me to solve error

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

    Đỉnh quá bác. Mong bác ra nhìu video nữa nhé. 🥳🥳😍😍😍

  • @houssammrabet4438
    @houssammrabet4438 Год назад +5

    I can't believe this is a free content, I really appreciate your work man, thank you for this amazing content, wish you the best in your career!

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

    your code writing style is awesome thanks for your valuable lessons

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

    I'm starting the project today, I'm excited! thanks for sharing your knowledge

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

    this is the best movie website I have ever seen, thank you so much!!!

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

    Thank you! Great video👏👏👏

  • @shiningrohit
    @shiningrohit Год назад +8

    Hello brother, I really appreciate your time and effort to create such an amazing videos for us to learn and improve our skills. But sometimes, we find it difficult to understand various things. It will be very helpful for us, if you can explain the things/concepts side by side. So, that we can also do it by ourselves. KEEP UP THE GREAT WORK❤❤

    • @tuattrananh
      @tuattrananh  Год назад +2

      ❤️❤️❤️

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      Have you completed this project

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

      @@RohitYadav-yt7rryes, I have completed this project, but I have not followed the whole tutorial, I just learnt few basics like folder structure, api, etc and implemented the rest according to my requirements.

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

    Em rất thích cách mà anh xử lý trong project mặc dù chỉ hiểu 80% ,mong anh ra nhiều video về TypeScript❤

  • @user-pg1ed3jw1p
    @user-pg1ed3jw1p Год назад

    Very nice, thanks , just comment for you, bro :)

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

    Thank you from Uzbekistan 🔥🔥🔥

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

    Great video! 💯👍

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

    Dường như đây là toàn bộ kiến thức bạn đi làm phải không!quá hay!

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

    Thank You so much sir! From Indonesia

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

    🙏🏻🙏🏻Thank you

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

    tuyệt quá anh ơi, hihi

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

    đỉnh quá anh

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

    Nice anh

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

    Hay quá ah

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

    Video anh rất hay ạ, em có thường theo dõi kênh anh và thấy rất hữu ích ạ. tuy nhiên việc code theo có thể dẫn đến vài phần khó hiểu, anh có thể làm video dạng vừa giải thích vừa code được không ạ.

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

    thank you bro !

  • @tanujkalonia4315
    @tanujkalonia4315 Год назад +2

    Buddy, I appreciate your hard work and dedication for making this wonder piece of art. Hats off to you. I just want to know what are the fonts and theme that you are using in vs code, and It is a request to please explain the code in the future projects, it would be highly helpful. Thank you for efforts

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

    with everything you do there you must work at NASA. My respects!

  • @MinhLe-zv1en
    @MinhLe-zv1en Год назад

    Anh có thể chia sẻ thêm nên học những gì để có đạt lên cái style viết như a không ạ em cảm ơn

  • @Hks89.8
    @Hks89.8 3 месяца назад

    Great Work Boss, but please while you write a certain piece of code just show the output or explain it !!
    Anyways Thanks

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

    When i try adding the libraries i cant get the nodemodules or the json
    pls help, is at the begining

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

    I really like your video and started creating watching the video. It would be highly appreciated if you can talk and explain us the process.

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

    hay anh ơi

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

    Hello i love u content, please can u share u vsc theme? thank u!

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

    To be honest I really don't know what's going on and I'm trying to create a movie website what is that your using at the beginning?...and thanks for the video🥰

  • @iamakashkumarram
    @iamakashkumarram Год назад +2

    Please make E-commerce project using MERN Stack

  • @a.human.
    @a.human. 10 месяцев назад

    @tuattrananh kindly reply how to fix ssl errors? the api fails if i use https instead of http. while its fine in local, in production we cant continue because vercel backend fails. Please please help.

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

    Brother you explain what you code then your subscriber increased

  • @MickberryZ_Fortube
    @MickberryZ_Fortube 11 месяцев назад

    Hi Tuat Tran Anh, i follow your code but i have a problem with connect Mongodb. Do you have any idea to solve my problem?

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

    cho mình hỏi mediaType gồm có bao nhiêu type và bao gồm những gì, mediaCategory bao gồm những gì với b. Mình có tìm hiểu qua thì mediaType sẽ có là all, movie và tv. Còn mediaCategory thì mình chưa biết, mong bạn giải đâp

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

    Im still learning react, and i wanna cry seeing this video

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

      keep learning bro

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

      @@tuattrananh can u share with me how much time it took for u to master all of this stuff bro?

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

    Bạn làm clip setup extension và setting như vs-code của bạn đc không ?

  • @kevincandra5495
    @kevincandra5495 Год назад +4

    8:44 what is the shortcut for this?

  • @SahilKumar-rq3bt
    @SahilKumar-rq3bt Год назад

    I really need of this please help me to know that how can i see and edit it because whenever I open index file its show nothing.

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

    Hello Sir! My name is Abdullo and I'm from Uzbekistan. I don't speak English, so I'm using a basic translator to write these words. I really liked the design of your website, and I want to make some modifications myself to put it on Google. Do you mind if I do this? I would greatly appreciate your response. Thank you!

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

    cách để điền dấu chấm phẩy tự động giống anh là dùng phím tắt gì vậy a

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

    ​​@Tuat Tran Anh bro please tell me can we add movie download button and advertising banner on it❤

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

    Can i ask a doubt in this website if a user need to upload a new movie post what will he do

  • @HangKhach-ol5kx
    @HangKhach-ol5kx 9 месяцев назад

    hello, thanks for your video, I need your help, how to get string url mongodb format?

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

    pls make guide on just anime

  • @user-bo3mh8my7w
    @user-bo3mh8my7w Год назад

    hi brother i have a error in server loading I'm getting the error as yarn start as nodemon app crashed waiting for file system changing what do here someone help me

  • @yjahsyaka-qs3sr
    @yjahsyaka-qs3sr Год назад +1

    i had some errors call""Cannot read properties of undefined (reading 'data')" idk why ,is there sth wrong with my api ???

    • @a.human.
      @a.human. 10 месяцев назад

      were you able to solve it?

  • @Ls-xb2bn
    @Ls-xb2bn Год назад

    Can You give rating? Or does it come from api TMDB?

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

    cách code rất hay anh

  • @yoBoi.007
    @yoBoi.007 12 дней назад

    Brother i connected it to my db still showing old data how ?

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

    anyone please help how to get the mongodb url ...this is your localhost ip how to link my own

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

    Hello Sir, I really appreciate your effort to create this amazing videos for us to learn and improve our skills. But when i try to use this app code locally, i find always the same error on my browser "Oops! Something worng!". When i show the atlas mongodb database, the user is perfectly created but i always get this error also when i try to Sign in. Can you help me to skip this error ??

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

    Hello sir, i'm a beginner and i wanna ask you something. When i run yarn add, why my node_modules didn't show In my server folder. There's no error, just warning your project contain lock files generated by tools other than yarn. I'm so confused. My version of Yarn is 4.0.2

  • @namnguyen-dd7qh
    @namnguyen-dd7qh Год назад

    Hiện tại a đang là middle hay senior v ạ?

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

    what keyboard do you use ?

  • @aniketbasu3865
    @aniketbasu3865 27 дней назад

    is it containing video streaming??

  • @farahnadhirah6149
    @farahnadhirah6149 11 месяцев назад

    hello do you have class diagram? or erd database

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

    Cho em hỏi phần này có tác dụng gì vậy anh
    route.index ? (

    ) : (

    )

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

    Hy everyone i need a small help .like i have a movie name from IMbd api. So i just want to check that how many OTT plateform that movie is available and what it's price and show this in my frontend (both platform & price)

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

    Can this be used commercially, sir?

  • @dineshsengar7987
    @dineshsengar7987 10 месяцев назад +1

    Where to get movie api ?

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

    uh hey how to did you solve the error i still dont understand

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

    Is it play like other app?

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

    This is best project i have ever seen , could you please explain the model and its purpose
    const modelOptions = {
    toJSON: {
    virtuals: true,
    transform: (_, obj) => {
    delete obj._id;
    return obj;
    }
    },
    toObject: {
    virtuals: true,
    transform: (_, obj) => {
    delete obj._id;
    return obj;
    }
    },
    versionKey: false,
    timestamps: true
    };
    export default modelOptions;
    thanks in advance

    • @tuattrananh
      @tuattrananh  Год назад +2

      toJSON and toObject is for delete _id in result
      versionKey: false is for remove _v in reuslt
      timestamps: true is for add createdAt and updatedAt in result

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

    How do you start the project on react.

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

    Anh nghĩ sau mỗi task anh nên tab sang web review lại ạ

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

    Would you like to add save favorite and remove favorite items. Plz

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

      It is already in part 2
      ruclips.net/video/Q_uLi4f27Lc/видео.html

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

    How Can I edit this Code for my Project puppose

  • @end-me-please
    @end-me-please Год назад +5

    Where you get that MONGODB_URL ?

    • @AmanThakur-ke1is
      @AmanThakur-ke1is 11 месяцев назад

      Create mongodb collection

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

      .env

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

      ​@@AmanThakur-ke1is
      Where can I get the API keys I got error

    • @AmanThakur-ke1is
      @AmanThakur-ke1is 7 месяцев назад

      @@sarabibrahim8312 Tell me in detail which error occurred.

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      ​@@AmanThakur-ke1is what can i replace baseurl

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

    Sir can you create this in flutter?

  • @S.Saurabh_
    @S.Saurabh_ 8 месяцев назад

    This should be like ultra paid content ngl

  • @MightyKingKala
    @MightyKingKala 9 месяцев назад

    please bro, what's this vs code theme which you are using, I thought it was one dark pro but it's not, could you tell us

    • @tuattrananh
      @tuattrananh  9 месяцев назад

      marketplace.visualstudio.com/items?itemName=MaoSantaella.night-wolf

    • @MightyKingKala
      @MightyKingKala 9 месяцев назад

      THANK YOU!@@tuattrananh

  • @S.Saurabh_
    @S.Saurabh_ 7 месяцев назад +1

    Bro when I replace the base url from public and private client to my localhost port, the app crashes. Why is it hapenning.

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      Same bro is the error resolve or not

    • @S.Saurabh_
      @S.Saurabh_ 2 месяца назад

      Yes I resolved it back then. I don't remember exactly how I did it. But do some debugging, the app still couldn't redirect the requests to your localhost. In my case the problem was in either package.json or env file (at least that's what I remember). Try it if it dosen't work maybe i can check.

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      @@S.Saurabh_ yes please you can check because monday is submission day

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      @@S.Saurabh_ how can i contact you

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      ​@@S.Saurabh_ bro can you help??

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

    Can we put this kind of projects on our resume for a software developer role?

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

    cho mình hỏi thao tác như thế nào để chèn nhanh ; cuối dòng nhỉ

    • @tuattrananh
      @tuattrananh  2 месяца назад +1

      cài đặt trong vscode nhé bạn, lưu file là tự động chèn ;

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

    ko có giao diện admin à bro

  • @BangtanArmy-mt7ph
    @BangtanArmy-mt7ph 3 месяца назад

    Is this a mobile application ? Or website ?

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

      It is website with responsive support

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

    why you use http to create server not app.listen?

    • @tuattrananh
      @tuattrananh  Год назад +2

      server = http.createServer(app)
      then
      server.listen(...)

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

    Anh Tuat có khoá học không ạ

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

      ko e ơi

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

      Anh dậy đỉnh zayy mà không có khoá học bùn quee ạ 🥹

  • @RohitYadav-yt7rr
    @RohitYadav-yt7rr 2 месяца назад

    What can i replace in base url

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

      get base_url from themoviedb api page

    • @RohitYadav-yt7rr
      @RohitYadav-yt7rr 2 месяца назад

      ​@@tuattrananh yes I try it but not working

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

    We can already watch movies from that?

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

      This project is completre free or paymmt

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

    3:39 what did you did at terminal

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

      yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
      the name, or if a path was included, verify that the path is correct and try again.
      At line:1 char:1
      + yarn add axios cookie-parser cors dotenv express express-validator js ...
      + ~~~~
      + CategoryInfo : ObjectNotFound: (yarn:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException i am getting this error

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

      you need to install yarn first
      npm install -g yarn

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

      @@tuattrananh npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
      of the name, or if a path was included, verify that the path is correct and try again.
      At line:1 char:1
      + npm install -g yarn
      + ~~~
      + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

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

    Không có cách setup ban đầu với Mongodb ạ anh

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

      cài mongodb vào máy rồi thêm connection string vào env thôi em

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

      @@tuattrananh Sao em thêm connection string từ cloud của mongo lại không được anh nhỉ, sign in nó chỉ lưu data xuống thoi anh ạ, chứ k cho vào Home

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

      @@tuattrananh Em run local server BE vẫn truy vấn đc api tuy nhiên login sign in nó bị 500 a ạ

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

    1:56:49 how you got baseURL

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

    where do I get the mongodb url?

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

      After install mongodb in your PC, connection string will be mongodb://127.0.0.1:27017/

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

      www.mongodb.com/basics/mongodb-connection-string

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

      @@tuattrananh okey thx broo🔥

  • @Tamilarasi-yf8fp
    @Tamilarasi-yf8fp 4 месяца назад

    How to run this project? Somebody please help

    • @tuattrananh
      @tuattrananh  4 месяца назад +1

      first register TMDB account and get API key, then clone completed project from github or do step by step like video

    • @Tamilarasi-yf8fp
      @Tamilarasi-yf8fp 4 месяца назад

      @@tuattrananh after getting API key, just add it to env variable.. then what command I have to give to start development server??
      Is it just like npm install and npm start or something else? Please tell me dude!

    • @yoBoi.007
      @yoBoi.007 12 дней назад

      Brother I connected it my db still getting old posts of users ...and their account do u know how to tackle it ​@@Tamilarasi-yf8fp

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

    sir give back end url

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

      What's your mean?

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

      put your own mongodb url from the driver mongo connect

  • @trinhduong-he5xz
    @trinhduong-he5xz Год назад

    cho em hỏi là gửi request tầm bao lâu thì có key api của trang TMDB vậy ạ

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

      đăng ký tk là có key liền mà

    • @trinhduong-he5xz
      @trinhduong-he5xz Год назад

      @@tuattrananh vâng ạ, lúc đầu em đk nhầm pro nên k có :3

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

      ​@@tuattrananh bro please tell me can we add movie download button and advertising banner on it❤

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

    err: MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.Connection.openUri (/mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/connection.js:695:11)
    at /mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/index.js:414:10
    at /mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
    at new Promise ()
    at promiseOrCallback (/mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
    at Mongoose._promiseOrCallback (/mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/index.js:1288:10)
    at Mongoose.connect (/mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/node_modules/mongoose/lib/index.js:413:20)
    at file:///mnt/c/Users/Usuario/Desktop/Downloads/fullstack-mern-movie-2022-main/server/index.js:22:10
    at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
    at async Loader.import (internal/modules/esm/loader.js:178:24)

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

      Excuse me on .env I added my mongodb version and API database key but it still gets errors when i write yarn start

  • @LukGamesCZ-rm3db
    @LukGamesCZ-rm3db 10 месяцев назад +1

    pls help
    PS C:\Users\ibera\OneDrive\Desktop\Nová složka> yarn start
    yarn run v1.22.19
    $ nodemon index.js
    [nodemon] 3.0.1
    [nodemon] to restart at any time, enter `rs`
    [nodemon] watching path(s): *.*
    [nodemon] watching extensions: js,mjs,cjs,json
    [nodemon] starting `node index.js`
    {
    err: MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at _createMongoClient (C:\Users\ibera\OneDrive\Desktop\Nová složka
    ode_modules\mongoose\lib\connection.js:804:11)
    at NativeConnection.openUri (C:\Users\ibera\OneDrive\Desktop\Nová složka
    ode_modules\mongoose\lib\connection.js:741:29)
    at Mongoose.connect (C:\Users\ibera\OneDrive\Desktop\Nová složka
    ode_modules\mongoose\lib\index.js:404:15)
    at file:///C:/Users/ibera/OneDrive/Desktop/Nov%C3%A1%20slo%C5%BEka/index.js:19:10
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
    }
    [nodemon] app crashed - waiting for file changes before starting...

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

      you should put your own mongo db driver url

  • @NIKKAS-STUDIOS
    @NIKKAS-STUDIOS 2 месяца назад

    Hey bro awesome work!! Can you contact me i want some help❤

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

    hey bro can you contact me ? i want help so muchh thanks