Great News For You Guys! New project is in development phase and soon you will be able to enjoy the new tutorial. The upcoming project is going to be a MERN stack project with user authorization like register, login, forgot and reset password. And this project is going to be one of the best projects available on TH-cam because it will have so many features. The project is JobSeeking Website.
I am writing this message just to appreciate how much you are giving us best and we are really thankful to you. Also I want to request you to please upload a guide video on "How to deploy your MERN projects on Vercel, Netlify or anything you feel better". I will be really thankful to you if your next video pops up and it's heading named as "How to deploy MERN projects😁"
God bless your divine soul for explaining every step so elaborately yet making it seem so simple. Understanding the repo framework for MERN projects itslef is pretty complex but you made it extremely simplified. Thank you😇😇😇😇
I am having an error at 19:10 where the app crashed with an error of unknown file extension. I installed dotenv again but its still not working and is showing the same error.what should i do to solve the issue?
backend is working well through postman and frontend also got no error. but when i fill reservation form from the website the next page is blank and in inspect console errors like 1] Failed to load resource: the server responded with a status of 404 (Not Found) 2]Uncaught Error: Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response, status}). If you meant to render a collection of children, use an array instead. 3]The above error occurred in the component: please guide I was glad everything was working fine till the next page of reservation form does not bring success just blank. Same like 1:42:27
When I import restapi.json file in navbar they showing error Attempted import error: 'data'.'0'.'navbarLinks'.'map' is not exported from '../restApi.json' (imported as 'data'). ERROR in ./src/components/Navbar.jsx 26:20-43 export 'data'.'0'.'navbarLinks'.'map' (imported as 'data') was not found in '../restApi.json' (possible exports: 0, 1, 2, 3, 4) Plz help
instead of this ----------------------------------- import { data } from '../restApi.json' data[0].navbarLinks.map((element) => { return ({element.title}) use this : --------------- const data = require('../restApi.json') data.data[0].navbarLinks.map((element) => { return ({element.title}) this is working for me.
Bro at time 1:02 when u checked ur frontend i am doing exactly same thing, but my page is not displaying any css, for some images it is also not showing image content, i have imported app.css also in App.jsx file kindly help with the frontend
Bro have error in 40:55 postman send Its say error: invalid IP address: undefined How to fix this ,i try the all the way I did not use thunder client So how to send the request to the cloud mongodb please explain detaily
Bhaiya! 40:55 pe sabkuch same karne ke baad jab main send kar rahu hu postman mei tab result mei success and message ki place pe sirf ek HTML boilerplate aarha hai and status aarha hai 404 Not Found, please help!
dbConnection file me Jo database ka naam aap ne likha he usko change krdo aur name me koi space ya special character use Mt krna even k number b use Mt krna
hey at 13:31 i am not "getting server running on port " instead of that i am getting "'nodemon' is not recognized as an internal or external command, operable program or batch file." This msg ....pls answer my question i exactly followed the same step twice until 13:31...where did i went wrong ...its a request
"First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`." this error is coming when sending requst on postman for reservation at 46:35 and i have done mongoose.model only in code then also
Go to your controller folder and then go to the line where you've used your create method and make sure you've wrapped all your fields in this format: ({name, email, etc})
hey at 39:31 i am getting an error "Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\***\Desktop\MERN PROJECT\BACKEND2\controller eservation.js' imported from C:\Users\***\Desktop\MERN PROJECT\BACKEND2 outes eservationRoute.js" Iska kaise solve kar sakte hai...pls batado baki sab maine same to same kiya haii...bas yahi galat aa raha hai...kya kar sakte hai
Hello bhai , mai backend ka code likh liya but jab postman per test kar rha hu to "Success false and message Class constructor ErrorHandler can't be invoked without new, show ho rha h
45:10 bhai ne reservation.js file main try ke andar ye likha hai await userModel.create(firstname, lastname, email, phone, date); actually ye hoga await userModel.create({firstname, lastname, email, phone, date}); object bana ka send karana hai bas { } missing hai. wese bhai apki backend code bahat achi hai ❤❤
in 46:56 your reservation successfully send , but in my "message" : "Operation `reservations.insertOne()` buffering timed out after 10000ms". what is the problem bro, reply
that problem is solve. but i have one more issue is 1:42:37 white screen . u just change data to date in Reservation.jsx or anything else ?? @@CodeWithZeeshu
46:56 { "success": false, "message": "Please Fill Full Reservation Form!" } I have written the correct data in the body but still it is showing the success as "false"
Yes you can copy the full code for frontend except the reservation component because in that component you will be sending your data from frontend to backend.
Can you please make fitness app/Web by fetching API in MERN. Bcz most of fitness apps are based on flutter and android on youtube. By the way great explanation. 👍🏻✨
@@CodeWithZeeshu thank you for replying hope you upload it soon because I chose this topic as a final year project and I found this video might help me as a reference. 👏
@@CodeWithZeeshu brother i also wanted fitness app/Web by fetching API in MERN becoz im also doing engineering and i need it for final year mega project
The theme I'm using is a default Dark theme. The extensions I'm using are: Auto Close Tag Auto Rename Tag Bootstrap Intellisense Code Runner DotENV ES7 React/Redux/GraphQL/React-Native Snippets ES7+ React/Redux/React-Native Snippets Live Server Material Icon Theme Postman Prettier Code Formatter Thunder Client
"First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`." ..........................facing this error in postman 42:00 , Please help
When I try to make a reservation, it doesnt show the success page. instead it shows: Failed to load resource: net::ERR_CONNECTION_REFUSED Reservation.jsx:39 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data') at handleReservation (Reservation.jsx:39:32) (its in the console log), help to solve this asap
{ "success": false, "message": "First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`." }
Thanks for your appreciation. Bro jld aap ko ek react native ki puri series mile only with projects aur han backend k baghair maza nhe hota project to basic sa backend b hoga unka inshallah
first argument to `model` constructor must be an object, **not** a string. make sure you're calling `mongoose.model()`, not `mongoose.model()`. can anyone solve this error ?
Aap apne frontend k liye npm create vite@latest ki command jb run krogy us se aap ka react ka environment setup hojayega phir jb aap npm run dev krogy to apka jo project hoga wo by default localhost:5173 pr run krega
SIR or anyone please help me ,, while making reservation its showing error for valid entry also,, its not showing error message ,its just showing "X" wrong symbol on popup , can anyone tell me where is the error???
When am trynna run the server by npm run dev then its showing "nodemon is not recognized as an internal or external command, operable program or batch file " What to do and how to solve the problem
Ya i hv installed it globally but then after giving the command "npm run dev" It's showing [nodemon] app crashed - waiting for file changes before starting
Hello brother, what's the purpose of notFound.jsx page here when we are not getting redirected to that page after making any mistake such as mistake in filling out the form? Because so far, after doing a mistake we are getting warning messages but we are not getting redirected to notFound.jsx page like we are getting redirected to success page after success. So what is the point of using notFound.jsx page here? I am actually in doubt about the use of notFound.jsx page here as it looks to be an independent page.
Hey please make a video on how to deploy I used render for backend and netlify for frontend but my database is not connecting overall everything working but not able to connect database ...
A cross-origin resource sharing (CORS) request was blocked because of invalid or missing response headers of the request or the associated preflight request. To fix this issue, ensure the response to the CORS request and/or the associated preflight request are not missing headers and use valid header values in react this Error is occuring in console
Bro my email field validation isn't working as expected. I have cross checked with your github repo code and it seems perfect. But the issue persists. It seems that validator library itself is not working. Can you check once and respond back?
Hi! Sir I don't know how to use ur given code from ur GitHub repository to my environment (in my laptop) l downloaded code from GitHub but don't know how to use it. PLZ SIR HELP ME OUT BY MAKING A GREAT & ASY VIDEO.
Going good so far but my problem is Success page doesn't appear. Can anyone help me rectify this error? Btw this is really helpful. This is beginner friendly. Thank you for bringing such contents for free.
Bhai mera toast alert kaam maine bahot koshish ki but nai horaha aur agar message ko console kare toh araha hai console maI but toast alert nahi aa raha? any suggest?
npm run dev > backend@1.0.0 dev > nodemon server.js 'nodemon' is not recognized as an internal or external command, operable program or batch file. how to clear this error how did use nodemon
Hey i have created this project it is pretty nice... But my teacher is saying me that i have to add login/sign up page.. Attched to registration.. So how to can i add it.. .. In my already build project.. Do you have any other video where u made sign up /log in pg... Pls guide me...
Also I have one more thing to ask... That 1.Did we use authentication in this project? 2.And if answer is yes, then did we use router for it or not... Cuz my teacher told me there is no authentication in this project.. So pls guide me
"success": false, "message ": "First argument to `Model ` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`" I'm getting this error and unable to fix it. CAN ANYONE HELP ME TO SOLVE !
Great News For You Guys! New project is in development phase and soon you will be able to enjoy the new tutorial. The upcoming project is going to be a MERN stack project with user authorization like register, login, forgot and reset password. And this project is going to be one of the best projects available on TH-cam because it will have so many features. The project is JobSeeking Website.
give the link sir
Visit my channel you will find it.
Thanks for creating a such MERN stack projects 🙏
hello brother in my terminal it say server has started at port undefined what does it mean ?while i make config file exactly like yours
Suis impatient
For the first time i was able to complete a MERN project without any errors, thank you so much. So far the best channel 🙏🏻🙏🏻🙏🏻
Did u face any difficulty while making the project?
@@Wonderfully_ok Yes im facing problem in Reservation.jsx
You are providing in-depth knowledge about MERN web development.......
Please create more videos like this.....😊
Thank you, I will ❤️
The backend part really helped me!
The error which occurred during 45 min is due to the way you were providing data inside create before you passed in () later you changed to ({})
Yeah I know. ❤️
Thanks bro.
I am writing this message just to appreciate how much you are giving us best and we are really thankful to you. Also I want to request you to please upload a guide video on "How to deploy your MERN projects on Vercel, Netlify or anything you feel better". I will be really thankful to you if your next video pops up and it's heading named as "How to deploy MERN projects😁"
It's my pleasure
I completed the project got to learn many things..Faced many error but some how able to solve it on own..
Thank you..
Welcome brother and Glad to know that you learned something new from the tutorial ❤️
finally created my first mern project thanks a lot.😊
Congrats 🎉
Can you give me your source code
I want to show in college
Shukar hai koi Allah ka Banda Sath Sath samjha bhi Raha hai. Allah apko iska ajar day ga. You are helping us.
Jazak Allah ❤️
God bless your divine soul for explaining every step so elaborately yet making it seem so simple. Understanding the repo framework for MERN projects itslef is pretty complex but you made it extremely simplified. Thank you😇😇😇😇
Such a big compliment ❤️
woah!! well explained brother. i will surely make this one. One of the finest video on YT explaining MERN Stack
Glad you liked it
Finally created my first MERN project. Thanks a lot Zeeshan bhai 💗 from hindustan❣
Welcome brother ❤️
@@CodeWithZeeshu sister 🥲😹
OK OK 😂
Hey bro can you help me with this project i have to some fswd project tomorrow
successfully made the project .great for beginners
Glad to hear that
Doing such a great job appreciate your efforts 👍👍
I am having an error at 19:10 where the app crashed with an error of unknown file extension.
I installed dotenv again but its still not working and is showing the same error.what should i do to solve the issue?
Share your error
node:internal/modules/esm/get_format:160
throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".env" for D:\ project\backend\config\config.env
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
at defaultLoad (node:internal/modules/esm/load:143:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:396:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
6:35 PORT or FRONTEND_URL aapka mera same rahega ya alag rahega?
Agr windows use kr rhe ho to same rahega
@@CodeWithZeeshu Thankyou Zeeshan bhai abhi just pora project complete kiya.. Aur bohot khuch seekhne ko mila.
Thank you. I completed finally MERN stack project 🎉🎉
Welcome 🤗
backend is working well through postman and frontend also got no error. but when i fill reservation form from the website the next page is blank and in inspect console errors like
1] Failed to load resource: the server responded with a status of 404 (Not Found)
2]Uncaught Error: Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response, status}). If you meant to render a collection of children, use an array instead.
3]The above error occurred in the component:
please guide
I was glad everything was working fine till the next page of reservation form does not bring success just blank.
Same like 1:42:27
Solution mila kya
thankyou so much sir for this tutorial. we need more tutorials on mern stack projects.
Glad you liked it! I've already uploaded 2 more MERN stack projects.
Thanks, bhai!! It's my first MERN app
Congrats 🎉
Wonderful brother, Thank you really
Thanks for appreciation ❤️
bro excellent video, keep up the good work!!
Welcome
When I import restapi.json file in navbar they showing error
Attempted import error: 'data'.'0'.'navbarLinks'.'map' is not
exported from '../restApi.json' (imported as 'data').
ERROR in ./src/components/Navbar.jsx 26:20-43
export 'data'.'0'.'navbarLinks'.'map' (imported as 'data') was not found in '../restApi.json' (possible exports: 0, 1, 2, 3, 4)
Plz help
You've not imported your json file correctly or may be you've some syntax error.
instead of this
-----------------------------------
import { data } from '../restApi.json'
data[0].navbarLinks.map((element) => {
return ({element.title})
use this :
---------------
const data = require('../restApi.json')
data.data[0].navbarLinks.map((element) => {
return ({element.title})
this is working for me.
Amazing 🤩 brother 👏
Thanks ❤️
Mashallah bhai.... great project. Expecting more projects like this!
Also watch the new project tutorial. ❤️
Good project with explanation 👍👍 thanks
Welcome
Bro at time
1:02
when u checked ur frontend
i am doing exactly same thing, but my page is not displaying any css, for some images it is also not showing image content, i have imported app.css also in App.jsx file
kindly help with the frontend
Brother at 1:02 it's a demo
@@CodeWithZeeshu yes, i am also getting the demo, but its like there is no css till that point
Maybe you have not imported your css file
Bro have error in 40:55 postman send
Its say error: invalid IP address: undefined
How to fix this ,i try the all the way
I did not use thunder client
So how to send the request to the cloud mongodb please explain detaily
Use postman's software application or thunder client. Don't use postman's extension.
Bhaiya! 40:55 pe sabkuch same karne ke baad jab main send kar rahu hu postman mei tab result mei success and message ki place pe sirf ek HTML boilerplate aarha hai and status aarha hai 404 Not Found, please help!
46:56
{
"success": false,
"message": "Invalid namespace specified 'Restaurant Booking.reservations'"
}
bhai ye error aara hai kese solve karu
dbConnection file me Jo database ka naam aap ne likha he usko change krdo aur name me koi space ya special character use Mt krna even k number b use Mt krna
@@CodeWithZeeshu bhai thank you ho gya solve error!!
Welcome
the word masla got me evertime
😂
hey at 13:31 i am not "getting server running on port " instead of that i am getting "'nodemon' is not recognized as an internal or external command,
operable program or batch file." This msg ....pls answer my question i exactly followed the same step twice until 13:31...where did i went wrong ...its a request
Run this command in your terminal:
npm i nodemon -g
@@CodeWithZeeshu ho gaya thanks
Welcome
"First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`." this error is coming when sending requst on postman for reservation at 46:35 and i have done mongoose.model only in code then also
Go to your controller folder and then go to the line where you've used your create method and make sure you've wrapped all your fields in this format:
({name, email, etc})
hey at 39:31 i am getting an error
"Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\***\Desktop\MERN PROJECT\BACKEND2\controller
eservation.js' imported from C:\Users\***\Desktop\MERN PROJECT\BACKEND2
outes
eservationRoute.js"
Iska kaise solve kar sakte hai...pls batado
baki sab maine same to same kiya haii...bas yahi galat aa raha hai...kya kar sakte hai
Koi function aap ne import Kiya he Jo exist nhe krta ya export nhe Howa ya import incorrect way me Kiya he
Free of course quality content.❤
Love you brother.
Allah de kamyaba ka😊
AAMEEN!!
bro you are doing great i am waiting for your admin dashboard portfolio ....
Thanks for your appreciation! I'll try my best to build that Admin dashboard portfolio as soon as possible!
Hello bhai , mai backend ka code likh liya but jab postman per test kar rha hu to "Success false and message Class constructor ErrorHandler can't be invoked without new, show ho rha h
Aap me apne controller me ya error middleware me koi mistake ki he
solve hui?
45:10 bhai ne reservation.js file main try ke andar ye likha hai
await userModel.create(firstname, lastname, email, phone, date);
actually ye hoga
await userModel.create({firstname, lastname, email, phone, date});
object bana ka send karana hai bas { } missing hai.
wese bhai apki backend code bahat achi hai ❤❤
Thanks brother note krne k liye wo bad me solve hogya tha maine note kiya tha usey aur maine github pr updated code post kiya he.
thanks for your comment bro,i got the same error and i solved after seeing your comment
@sudo_sunil Thanks a lot bhai. Ur comment actually saved me. Once again thanks a lot🙏
in 46:56 your reservation successfully send , but in my "message" : "Operation `reservations.insertOne()` buffering timed out after 10000ms". what is the problem bro, reply
Is your internet connected??
that problem is solve. but i have one more issue is 1:42:37 white screen . u just change data to date in Reservation.jsx or anything else ??
@@CodeWithZeeshu
Yes I just changed data to date nothing else.
@@CodeWithZeeshu just one time or
Yes
You do Great bro keep it on
Thanks brother!! ❤️
46:56
{
"success": false,
"message": "Please Fill Full Reservation Form!"
}
I have written the correct data in the body but still it is showing the success as "false"
Maybe you are not getting any field in your controller. Try to console the values.
@@CodeWithZeeshu its working now.
Thank you
Welcome
Great video ❤❤
Thanks
Bro just superb project!! I want to learn backend so is it okay to direct copy code of frontend ? Learned many things from this project Thank You!!😀🔥❤
Yes you can copy the full code for frontend except the reservation component because in that component you will be sending your data from frontend to backend.
@@CodeWithZeeshu Okay thank you brother ❤️....aur agar Java me backend sikhna ho to sab jyada kuch change ho jayega kya!!??
Han wo to bilkul different hojayega phir
Pr Java ka scope buhut he ye pehle bta do pr difficult b utni hee he phir
Zbrdast bhai best hogya Masha Allah...thak gya hoon bahir ka content dekh dekh kr...❤Allah apko tarraqii dy..lagy rho 🎉
Shukriya ❤️❤️
Can you please make fitness app/Web by fetching API in MERN. Bcz most of fitness apps are based on flutter and android on youtube. By the way great explanation. 👍🏻✨
Yes I'll try to make to make the fitness MERN Stack Application! Thanks for your appreciation!
@@CodeWithZeeshu thank you for replying hope you upload it soon because I chose this topic as a final year project and I found this video might help me as a reference. 👏
Join the Whatsapp group or message me on Instagram and give me details about your project!
@@CodeWithZeeshu brother i also wanted fitness app/Web by fetching API in MERN becoz im also doing engineering and i need it for final year mega project
Bro at 40:53 its saying invalid ip address... what went wrong I cant find it
Use thunder client instead of postman
@@CodeWithZeeshu yeah I did it chatgpt told me Alhamdulillah it’s now working
clear and perfect♾️
Your appreciation means a lot to me 🥰
I am stuck at post send option. I am getting
success: false
message : Please fill full Reservation form!
No able to find error. How can i fix it?
Debug your function and console all fields and check that are you getting all fields or not
Can you please share your vs code theme, extensions u r using. Great tutorial,
The theme I'm using is a default Dark theme.
The extensions I'm using are:
Auto Close Tag
Auto Rename Tag
Bootstrap Intellisense
Code Runner
DotENV
ES7 React/Redux/GraphQL/React-Native Snippets
ES7+ React/Redux/React-Native Snippets
Live Server
Material Icon Theme
Postman
Prettier Code Formatter
Thunder Client
at 54 min I am unable to see the homepage, why so? please tell asap
Maybe your didn't return your component. Otherwise check for errors in your terminal.
"First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`." ..........................facing this error in postman 42:00 , Please help
Use curly brackets inside your Reservation.create method in your controller file in backend
When I try to make a reservation, it doesnt show the success page. instead it shows:
Failed to load resource: net::ERR_CONNECTION_REFUSED
Reservation.jsx:39 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
at handleReservation (Reservation.jsx:39:32)
(its in the console log), help to solve this asap
Your backend is not running.
How to solve it?
you are Best bro. thanks
Mashallah bhai bht acha
Jazak Allah ❤️
{
"success": false,
"message": "First argument to `Model` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`."
}
Join our Whatsapp group and ask for guidance.
Great brother ❤
Thanks
i am having issues with the reservation.jsx file it is giving errors on sending data
Which error?
await Reservation.create({
firstName,
lastName,
email,
phoneNumber,
date,
time,
});
use brackets
Bhai great video. Please react native per bhi detailed video banain. Thank you. Jazak Allah
Thanks for your appreciation. Bro jld aap ko ek react native ki puri series mile only with projects aur han backend k baghair maza nhe hota project to basic sa backend b hoga unka inshallah
great explanation thnx
Bro where you connected backend and frontend. Im not able to find it. Neither in reservation component nor in app.jsx pls help
I connected frontend and backend in backend in app.js file
@@CodeWithZeeshu in which line specifically. please tell
Brother you helped me alot
Great bro
Thanks
first argument to `model` constructor must be an object, **not** a string. make sure you're calling `mongoose.model()`, not `mongoose.model()`.
can anyone solve this error ?
Check your schema file. Maybe you have some syntax error there.
you use small latter m on your mongoose.model to chenge m to capital latter and run this code
Failed to resolve "..restApi.json" from "src/components/Qualities.jsx" does the file exist
I think your path is incorrect.
Bhai aapne confog. Env me frontend ke liye url kese liya or konsa url he wo
Aap apne frontend k liye npm create vite@latest ki command jb run krogy us se aap ka react ka environment setup hojayega phir jb aap npm run dev krogy to apka jo project hoga wo by default localhost:5173 pr run krega
ok bro
thank you for reply✌@@CodeWithZeeshu
Welcome
SIR or anyone please help me ,, while making reservation its showing error for valid entry also,, its not showing error message ,its just showing "X" wrong symbol on popup , can anyone tell me where is the error???
Hey did u solve it iam also facing same issue
i am getting error [TypeError: Cannot read properties of undefined (reading 'data')] anyone facing this, tell me solution for this
did you resolve it
@@Wonderfully_ok nah
Server undefined port pe chlra ha kitna try kar liya kya kau env sahi dal h fir bhi
Video dekhogy to sb samjh aajayega
@@CodeWithZeeshu bhai kitna try kar liya ha comments section main bhi sabka yahi problem ha 🙏
Sbko yahi kaha he k video dekho... Q k brother code to sare provide kr hee chuka hon me at least config file to khud se bnao aap
How did you get code in mongodb in starting, you had not explained, you directly got the code
No brother I explained each and everything... Watch the video again.
My backend and frontend both are running individually at ports but the site is not running on local host
What do you mean not running on localhost?
Means the reservation form is not submitting
@@Wonderfully_ok same
did you get any solution
nice video sir , can you please make a full stack project including admin panel
Already uploaded on my channel
@@CodeWithZeeshu what is the name of video sir??
When am trynna run the server by npm run dev then its showing "nodemon is not recognized as an internal or external command, operable program or batch file " What to do and how to solve the problem
Run this command in your terminal:
npm install nodemon -g
Ya i hv installed it globally but then after giving the command "npm run dev" It's showing [nodemon] app crashed - waiting for file changes before starting
It's the error in your code.
Bro here i am getting Could not send request while connecting to postman.
Maybe your url is incorrect.
@@CodeWithZeeshu FRONTEND_URL this one?
@@CodeWithZeeshu which url FRONTEND_URL ?
@@CodeWithZeeshueverytime connecting to postman i got error of unexpected end of json input in every project , why it is so kindly tell me
Hello brother, what's the purpose of notFound.jsx page here when we are not getting redirected to that page after making any mistake such as mistake in filling out the form? Because so far, after doing a mistake we are getting warning messages but we are not getting redirected to notFound.jsx page like we are getting redirected to success page after success. So what is the point of using notFound.jsx page here? I am actually in doubt about the use of notFound.jsx page here as it looks to be an independent page.
You will be redirected to this page only if you want to go to a page which does not exist.
Thank you bhaiya ❤
how do you connected backend to frontend? using RESTful APIs
By using cors, I connected the backend with frontend.
@@CodeWithZeeshu CSS framework?
In this project I used pure CSS.
Hey please make a video on how to deploy I used render for backend and netlify for frontend but my database is not connecting overall everything working but not able to connect database ...
Render pe account abhi bnaya he ya 3-4 maheene pehle q k abhi to card maang rha he deployment k liye....
th-cam.com/video/nwrqRW_Z03A/w-d-xo.html Deployment video
Life saver ✌🏻
A cross-origin resource sharing (CORS) request was blocked because of invalid or missing response headers of the request or the associated preflight request. To fix this issue, ensure the response to the CORS request and/or the associated preflight request are not missing headers and use valid header values in react this Error is occuring in console
Your frontend is not connected with your backend.
Bro my email field validation isn't working as expected. I have cross checked with your github repo code and it seems perfect. But the issue persists. It seems that validator library itself is not working. Can you check once and respond back?
Check the version of your validator in your package.json file
@@CodeWithZeeshu The version is 13.12.0
When we fill the entry in reservation part it dost not work not even the 404 page is coming plz help
Is your backend running? Check for any error in your console.
Solved 👍 thank you so much
Welcome
How did you solve it tanvi??
Server has started at port undefined .. what should be it's port number thn i hv given 4000 then 5000 everywhere im getting same error
Your config file path is incorrect
@@CodeWithZeeshu thn how to correct it
@@CodeWithZeeshu through folder thn env file ryt
Please tell resolve hua@@anshubanu
@@bishtDevendra-el6tm i didn't continue the project futher after the errors 🥲
aoa, bro i am facing error "[nodemon] app crashed - waiting for file changes before starting..." how can i solve this error plz help me
Send pic of full error on my insta or LinkedIn
@@CodeWithZeeshu ok
After start backend...nodemon is not recognised as an internal or external command how to fix it
Visit me channel and watch a video of nodejs installation your error will solve by watching that 3 minutes tutorial.
brother i also wanted fitness app/Web by fetching API in MERN becoz im also doing engineering and i need it for final year mega project
I'll create it later currently working on e-commerce project but if you want it then I also do freelancing you can pay if it's urgent for you.
bhay meri config.env file me jo port and frontend url and mongo_uri voh update nahi ho rahe matalb blue nahi ho rahe
Kia mtlb update nhe horhe
Yes,npm run dev krne pe
Port 4000 nhi show ho rha hai
Only ye show ho rha hai
server running on port ${process.env.Port}
Means .env file responsive nhi hai
Same problem with me too !!! I’m stuck here for hours now 😢
@@CodeWithZeeshu please help !!
This website not property working. Backend issue... Before postman working well. but after that not working..😐😐
I think you're using postman's VS code extension. Download postman's software application and use it.
bhai ham mongo atlas se get request karke restaurant ke liye bhi front end bana sakte h na...is video me sirf customer ke liye hai
Han bilkul kr skte ho
Hi! Sir I don't know how to use ur given code from ur GitHub repository to my environment (in my laptop)
l downloaded code from GitHub but don't know how to use it.
PLZ SIR HELP ME OUT BY MAKING A GREAT & ASY VIDEO.
Brother you've to setup a config file in your backend and you also need to download node modules in your backend and frontend.
@@CodeWithZeeshu PLZ SIR HELP ME OUT BY MAKING A GREAT & EASY VIDEO.
@@HumaIhsan_Jutthi bro, did you used it in you pc?
my backend is working from thunderclient but not from front end
please help
Is it resolved?
Going good so far but my problem is Success page doesn't appear.
Can anyone help me rectify this error?
Btw this is really helpful.
This is beginner friendly.
Thank you for bringing such contents for free.
Can you submit the form from your frontend?
@@CodeWithZeeshu yes
After I fill the details in the frontend and click reserve now button it directs to the empty page, however the data is stored in database
Maybe there is some issue in your success page.
@@shravyak8535can you help me I can not submit the information to frontend
Heyy, I cannot find config.env in the github repo.. Can you please help ?!
You have to setup it on your own or join our Whatsapp group and ask for guidance.
Thanku brother it was very helpful for me for practice MERN but when I was deployed my project it was failed please help
I uploaded a separate video of deployment so watch that video.
Bhai mera toast alert kaam maine bahot koshish ki but nai horaha aur agar message ko console kare toh araha hai console maI but toast alert nahi aa raha? any suggest?
App.jsx file me Toaster component use Kiya he??
@@CodeWithZeeshu nahi sirf reservation.jsx mai Kia tha!
App.jsx me Toaster ko import kro
@@CodeWithZeeshu Alhamdulillah Bhai jazak Allah!
Khairan
Can I use it for my university minor project
Yes
Ofcourse
how to run this project
npm run dev
> backend@1.0.0 dev
> nodemon server.js
'nodemon' is not recognized as an internal or external command,
operable program or batch file.
how to clear this error how did use nodemon
Brother Install nodejs and setup its path: to solve this error visit my channel and watch the nodejs installation video
@@CodeWithZeeshu i have watched the video nd setup as u showed but still not clear the issue
Hey i have created this project it is pretty nice... But my teacher is saying me that i have to add login/sign up page.. Attched to registration.. So how to can i add it.. .. In my already build project.. Do you have any other video where u made sign up /log in pg... Pls guide me...
Yeah I have already implemented signup login functionality in my other projects i.e. Job Seeking Web Application or Blogging Application.
Also I have one more thing to ask... That
1.Did we use authentication in this project?
2.And if answer is yes, then did we use router for it or not...
Cuz my teacher told me there is no authentication in this project.. So pls guide me
This project has no authentication
@@CodeWithZeeshu do you have any mern stack (react + nodejs+ express+mongodb) authentication project on your channel.. Can u pls name it
Bhaiyya pls jawab dedo..aur ya sirf ek function + authentication asa koi project apke channel pai hoga wo bhi chalega baitha pls batado
can you please explain how restApil.json data getting shown dynamically🙏🙏🙏🙏🥲🥲🙏🙏
"success": false,
"message ": "First argument to `Model ` constructor must be an object, **not** a string. Make sure you're calling `mongoose.model()`, not `mongoose.Model()`"
I'm getting this error and unable to fix it. CAN ANYONE HELP ME TO SOLVE !
Write curly brackets inside your Reservation.create method in your Reservation.js controller file
@@CodeWithZeeshu Thankyou