Пікірлер
@amarnath3368
@amarnath3368 50 минут бұрын
Hi bro, I followed your instructions. But the Server is not connecting in the end & it's not showing DB Connected message. can you help
@prajwalwalde4489
@prajwalwalde4489 Күн бұрын
On signing in it is showing me 'invalid credentials'. Please help
@emmannweb
@emmannweb Күн бұрын
Invalid credentials error is a normal response when email or password is not correct.
@JimohSegun
@JimohSegun 12 күн бұрын
the videos are'nt clear enough even with the highest video resolution and the sound is not good
@JimohSegun
@JimohSegun 12 күн бұрын
wow, amazing, exactly want i want to know, I hardly see backend code with typescript . going through these soon.
@SupawadeeThaishop
@SupawadeeThaishop 12 күн бұрын
Thank you very much <3<3<3
@emmannweb
@emmannweb 12 күн бұрын
You're welcome!
@vikramjane2979
@vikramjane2979 13 күн бұрын
Sir, can you have register user, edit user, create or update job and jobtype as well, components code.
@emmannweb
@emmannweb 13 күн бұрын
Yes, the final code is in the bonus folder, you can find them there.
@Famitube11
@Famitube11 20 күн бұрын
is the account you logged in with for the admin or every one can post a job?
@emmannweb
@emmannweb 20 күн бұрын
Everyone can apply for a job, once he's log in, but only admin users can post a job.
@Famitube11
@Famitube11 20 күн бұрын
@@emmannweb tnx man can you give us a git hub repository for the code please ?
@emmannweb
@emmannweb 20 күн бұрын
@@Famitube11 the link is in the description: github.com/emmannweb/job-portal-mern-stack
@tranquocduong8533
@tranquocduong8533 24 күн бұрын
hello
@emmannweb
@emmannweb 24 күн бұрын
Hi
@tranquocduong8533
@tranquocduong8533 24 күн бұрын
hi
@shrinivaskathare3444
@shrinivaskathare3444 25 күн бұрын
Please guide me how did you deploy this frontend on render I have deployed backend successful but I am getting many errors in frontend deployment please make video and send me🙏🏻🙏🏻
@emmannweb
@emmannweb 25 күн бұрын
If you have successfully deployed the backend API, you are almost there. From my previous experiences with them, seems like the size of memory on free plan might be not sufficient to run React. You could instead point your backend API to the build (frontend part) on production mode "NODE_ENV=production". i-e deploy the "build" folder for production inside frontend. It should work.
@shrinivaskathare3444
@shrinivaskathare3444 25 күн бұрын
@@emmannweb I didn't understand it please make video of it 🙏🏻
@candy_front
@candy_front 25 күн бұрын
Thank you so much for this video, that helps me a lot. I learned so much about taxonomies.
@emmannweb
@emmannweb 25 күн бұрын
You're welcome!
@shruthim1993
@shruthim1993 29 күн бұрын
Sir im not getting server running on port command in terminal
@emmannweb
@emmannweb 29 күн бұрын
Seems like you missed something. i would advice you to follow the step by step process, create .env file, create database, etc. Source code is also available to download and compare it to your code. Other advice, please stick to the npm version that we are using to avoid unexpected behavior.
@shrinivaskathare3444
@shrinivaskathare3444 Ай бұрын
Upload it fast please 🙏🏻😊
@emmannweb
@emmannweb Ай бұрын
lol Okay . Don't worry.... i'm working on it actually. You'll get it next week.
@giorgitopuria9567
@giorgitopuria9567 Ай бұрын
thank you <3
@emmannweb
@emmannweb Ай бұрын
You're welcome!
@siddhantsahay2263
@siddhantsahay2263 Ай бұрын
Sir I'm not able to connect the frontend part with the backend in console window i dont have redux option like you how to resolve this problem
@emmannweb
@emmannweb Ай бұрын
H therei, sir did you start from the beginning of this series?
@khadeejath1513
@khadeejath1513 Ай бұрын
Hi sir, why you installed mongoose with specified version like @5.14.9 and why touch used
@emmannweb
@emmannweb Ай бұрын
Hi there, it is not mandatory. However you should also consider the updades that come with that new version. The @ symbol in the package installation is to ensure that the App will work or behave exactly the way i've showed you.
@kamathwadyer7412
@kamathwadyer7412 Ай бұрын
Thank you
@emmannweb
@emmannweb Ай бұрын
you're welcome.
@sugoonese4024
@sugoonese4024 Ай бұрын
Lovely video! Simple and easy. May I ask the purpose for storing a public_id in the image? is the URL not enough for displaying the image on the frontend? Thanks!
@emmannweb
@emmannweb Ай бұрын
Thank you so much! Well, the "public_id", you would use it, for instance, if you want to delete an image. Application example: github.com/emmannweb/blog-mern-app/tree/main check this project (front an back)
@dunyaecricket
@dunyaecricket Ай бұрын
I have a question I'm stuck in big problem when I applied this code show jobs code but problem is that when I commit this lines " // let cat = req.query.cat; // let categ = cat !== '' ? cat : ids;" I can get data but when I uncommit I can't get data only get array like that "{ "success": true, "jobs": [], "page": 1, "pages": 0, "count": 0 }" give me solution and see this code what wrong in this code //show jobs exports.showJobs = async (req, res, next) => { //enable search const keyword = req.query.keyword ? { title: { $regex: req.query.keyword, $options: 'i' } } : {} // filter jobs by category ids let ids = []; const jobTypeCategory = await JobType.find({}, { _id: 1 }); jobTypeCategory.forEach(cat => { ids.push(cat._id); }) // let cat = req.query.cat; // let categ = cat !== '' ? cat : ids; //enable pagination const pageSize = 5; const page = Number(req.query.pageNumber) || 1; //const count = await Job.find({}).estimatedDocumentCount(); const count = await Job.find({ ...keyword }).countDocuments(); try { const jobs = await Job.find({ ...keyword }).skip(pageSize * (page - 1)).limit(pageSize) res.status(200).json({ success: true, jobs, page, pages: Math.ceil(count / pageSize), count }) } catch (error) { next(error); } }
@dunyaecricket
@dunyaecricket Ай бұрын
hello sir this is amazing video but I have a question where is JWT_SECRET PORT=4000 DATABASE=mongodbURl JWT_SECRET=
@emmannweb
@emmannweb Ай бұрын
Well, my friend you will need to create a .env file in backend folder and add those variables with their respective value. In bonus folder you would create the .env file in the root of it.
@AvikNayak_
@AvikNayak_ 2 ай бұрын
is your code working in 2024 ?
@emmannweb
@emmannweb 2 ай бұрын
Of course. Check the deployed link. A code will work most of the time in the environment in which, it was created. That funcionality comes with Docker.
@AvikNayak_
@AvikNayak_ 2 ай бұрын
@@emmannweb what is the reason behind using react-redux instead of toolkit?
@emmannweb
@emmannweb 2 ай бұрын
@@AvikNayak_ you are free to use either one. it`s not an issue at all. just preference.
@AvikNayak_
@AvikNayak_ 2 ай бұрын
@@emmannweb oh I see. Again thanks for replying.
@emmannweb
@emmannweb 2 ай бұрын
@@AvikNayak_ you`re welcome
@AvikNayak_
@AvikNayak_ 2 ай бұрын
Does this have admin role?
@emmannweb
@emmannweb 2 ай бұрын
Yes
@felipelunahurtado1727
@felipelunahurtado1727 2 ай бұрын
history.push is not working for me. It change de URl but does not refresh de page and chace to the other
@emmannweb
@emmannweb 2 ай бұрын
What version of react-router-dom are you using? If it is a newer version it will not work, you would have to use useNavigate() hook, also you would need to adapt the routes to the newer version according to the documentation. Otherwise you may keep the same packages version that we used in order to keep consistency..
@felipelunahurtado1727
@felipelunahurtado1727 2 ай бұрын
@@emmannweb It already worked. I used use history. Is there any WhatsApp number to contact you?
@Mr.akki_990
@Mr.akki_990 2 ай бұрын
can i use this frontend with springboot
@emmannweb
@emmannweb 2 ай бұрын
Well, you can use React frontend with any backend API, you would have only to adjust your code backend code or adjust the frontend code to work with your backend, it's up to you.. For instance, we are using cookie, token and user role to control access in frontend.
@amjadkj1983
@amjadkj1983 2 ай бұрын
Hi sir, Can you help me with adding job id to the job history. can you reply the line of code
@emmannweb
@emmannweb 2 ай бұрын
First of all, you would have to modify userModel. instead of jobsHistory: [jobsHistorySchema], you put jobsHistory: [], and you would push only IDs in it from the frontend. And finally to find applied job: Job.find( { _id : { $in : [1,2,3,4] } } );
@amjadkj1983
@amjadkj1983 2 ай бұрын
@@emmannweb Can't we add new Object id with Job schema as reference and call it like user id
@ernzotech
@ernzotech 3 ай бұрын
I am having this error "Missing required parameter - file"while trying to add a photo to cloudinary from Postman while testing it "Missing required parameter - file"
@ernzotech
@ernzotech 3 ай бұрын
I am getting this error on POSTMAN "Unknown API key '777252576991944'," while trying to upload photo
@emmannweb
@emmannweb 3 ай бұрын
According to you error, seems like you have a problem with your Cloudinary credentails. Double check them. Don`t forget to put them with their correct name in .env file.
@ernzotech
@ernzotech 3 ай бұрын
I have done that correctly @@emmannweb
@thucdzech7885
@thucdzech7885 3 ай бұрын
Thank you for your information, but the video was repeated, it should be started at 8:54. Anyway, thank you verymuch
@emmannweb
@emmannweb 3 ай бұрын
Sorry for that, we will adjust that if so.
@honeypradhan6370
@honeypradhan6370 3 ай бұрын
Sir, please make a video how to deploy it.
@emmannweb
@emmannweb 3 ай бұрын
Okay, no problem.
@Yahiakamel2256
@Yahiakamel2256 3 ай бұрын
when i signin an error message appears : Error: secretOrPrivateKey must have a key
@emmannweb
@emmannweb 3 ай бұрын
Do you have your .env file created in backend root folder with variables in it?
@surajpandey3358
@surajpandey3358 3 ай бұрын
Please build a project on e-learning platform with all features
@emmannweb
@emmannweb 3 ай бұрын
Well, this is a big project, let's put that on vote to see how many people would be interested.
@user-yv2ye7do8w
@user-yv2ye7do8w 3 ай бұрын
thanks for the project explanation.It helped me a lot
@emmannweb
@emmannweb 3 ай бұрын
You're welcome!
@niteshsemwal7155
@niteshsemwal7155 3 ай бұрын
Hello sir when i try to upload both parts as separate folder cookies does not works but when deploy like u as u had done in same folder cookies does works why cross sites working different.
@emmannweb
@emmannweb 3 ай бұрын
It's a good question! If you take a look on package.json for backend located in the root folder,: "server": "nodemon backend/app.js" it has the path where to run and start the server. So when you deploy the App on a server, you have to specify where package.json is located. Also cookies will work if the specied path in package.json to run script in backend was found, otherwise the cookie won't work either.
@hanu_106
@hanu_106 3 ай бұрын
is this APP mobile responsive or not
@emmannweb
@emmannweb 3 ай бұрын
Of course.
@hanu_106
@hanu_106 3 ай бұрын
@@emmannweb thanks for your reply
@becbelk
@becbelk 3 ай бұрын
so it is easy for the attacker to change his role and access!!!
@emmannweb
@emmannweb 3 ай бұрын
You would have to know DB password and name...and the role should not be in the submitted frontend form for security reasons as it would have its default value in the DB. Or you could add MongoDB user predefined role in DB access link.. it's up to you how you want to handle it.
@erfankasaei8467
@erfankasaei8467 4 ай бұрын
I really thank you for teaching me everything so well and first class.
@emmannweb
@emmannweb 4 ай бұрын
You're welcome.
@lokeshchauhan6253
@lokeshchauhan6253 4 ай бұрын
Thanks bro i was struggling to upload for over 8 hrs thank you very much
@emmannweb
@emmannweb 4 ай бұрын
You're welcome!
@arandomuser11
@arandomuser11 4 ай бұрын
These videos are great. I really appreciate you making them!
@emmannweb
@emmannweb 4 ай бұрын
Thank you so much!
@user-pc1pm1vb7p
@user-pc1pm1vb7p 4 ай бұрын
Please share frontend code as well !!
@emmannweb
@emmannweb 4 ай бұрын
Please visit the repo, it is also included.
@user-pc1pm1vb7p
@user-pc1pm1vb7p 4 ай бұрын
@@emmannweb no bro. Css and all files are not their
@user-pc1pm1vb7p
@user-pc1pm1vb7p 4 ай бұрын
@@emmannweb please provide css code 🙏🙏
@emmannweb
@emmannweb 4 ай бұрын
@@user-pc1pm1vb7p i'll verify it, but i have to mention it is a simple CRUD with bootstrap, so download the code and test it, if there is thing left to push in that repo, i'll push it for you.
@user-pc1pm1vb7p
@user-pc1pm1vb7p 4 ай бұрын
@@emmannweb please verify it from you end. These edit and trash class icons are not coming and even UI layout has drastically changed.
@zoherkhomosi4971
@zoherkhomosi4971 4 ай бұрын
Sir, in postman my cookie is not working giving error and app crash
@emmannweb
@emmannweb 4 ай бұрын
Hi, sorry for delay. It should work, do you configure the cookie middleware "app.use(cookieParser())" in server file? When App crash, you might have a misconfiguration on the route handler or some missing configuration on server file.
@amjadkj1983
@amjadkj1983 4 ай бұрын
Sir, there is no user signup option in implemented in frontend
@emmannweb
@emmannweb 4 ай бұрын
Hi, yes we do have it, check the playlist please: kzfaq.info/get/bejne/o9aPYJCGutrXink.html
@siddharthjangid9502
@siddharthjangid9502 4 ай бұрын
Sir when is user is applying for any job then there should be a section where admin can see applied jobs by a user so that he can respond to it
@emmannweb
@emmannweb 4 ай бұрын
Yes you can, it depends on how you want to handle that; for instance, you can target in a query all users´ job history with MongoDB Aggregation, to show that result in admin dashboard. Now, to give feedback, it might be an automated email response or a custom email response which you can implement with the popular module Nodemailer. The possibility is endless, and it's up to your business model.
@besnikbrahimi5483
@besnikbrahimi5483 4 ай бұрын
Hi sir Great work I want to ask you something I'm working on a beginner project with mern and I want to ask you can you help me with a search bar because I cant fix it Thank you keep it up 👏
@emmannweb
@emmannweb 4 ай бұрын
Hi, thank you so much! What specifically? is it a Css matter or functionnality?
@besnikbrahimi5483
@besnikbrahimi5483 4 ай бұрын
@@emmannweb Functionaly. I'm working on a job portal project I need help in search input and validation so you cant add anything when the fields are blank
@emmannweb
@emmannweb 4 ай бұрын
@@besnikbrahimi5483 i have a job portal series on this channel which has this feature, you can check my github project
@node991
@node991 4 ай бұрын
supportive video & easy to know! Thanks brother
@emmannweb
@emmannweb 4 ай бұрын
Glad you liked it!
@harinimcsestudent1203
@harinimcsestudent1203 4 ай бұрын
Sir, while doing frontend, i am not getting the redux table in the inspect mode.
@emmannweb
@emmannweb 4 ай бұрын
i would say do you have it install in the browser? (Redux devtools) and properly configure it in the store and wrap your App with Provider in index.js file. Check our code to compare it.
@harinimcsestudent1203
@harinimcsestudent1203 4 ай бұрын
Yeah sir, now i have installed and it shows perfectly@@emmannweb 👍
@amjadkj1983
@amjadkj1983 4 ай бұрын
Sir , while downloading google web fonts (4:04 time stamp) you copy link from MUI then paste a code starts with npm which is not the link you copied from the MUI webpage .can you please explain
@emmannweb
@emmannweb 4 ай бұрын
Okay, i get you. I've showed you where you can find the google font, you would copy it, to add it in index.html in public folder, the "CODE START WITH NPM" you've mentionned are packages to install in our App..
@jmgutierrez962
@jmgutierrez962 5 ай бұрын
I typically use tailwind for css but great video sir..
@emmannweb
@emmannweb 5 ай бұрын
Thank you so much! Great!
@EmpresarioDoFunk
@EmpresarioDoFunk 5 ай бұрын
Cara, você é brasileiro haha, brisei vendo o vídeo com você falando em inglês e todos os textos em português kkkk. Gostaria de uma ajuda, quase que para a mesma coisa. Tenho um site wordpress onde vendo assinatura, e gostaria de que quando um usuario assinar ele virasse automaticamente um membro vip, e quando ele cancelasse, ele voltasse a um usuário básico. Gostaria de fazer isso usando os webhooks, mas estou com extrema dificuldade em fazer isso acontecer utilizando PHP no Wordpress. Consegue ou fazer um vídeo ou me passar alguma informação respondendo esse comentário?
@emmannweb
@emmannweb 5 ай бұрын
Olá, você usa o Stripe para fazer a assinatura e já está operacional? Se eu entendo o seu problema é o webhook, normalmente o webhook é um endpoint (api ou link) disponível no seu App e cadastrado no Stripe onde o ele vai mandar notificações de eventos cadastrados e com os dados vc consegue atualizar o plano do usuário. No Wordpress vc consegue ter o REST API do seu post personalizado para manipular os dados. Documentação do Stripe para PHP: docs.stripe.com/recurring-payments?lang=php#accept-recurring-payments
@lumidemukaj7149
@lumidemukaj7149 5 ай бұрын
Where is part 2 pleas i need it
@emmannweb
@emmannweb 5 ай бұрын
Which part 2 ? Source code available in the description.
@ramprasadchauhan7
@ramprasadchauhan7 5 ай бұрын
Good project, please improve video voice quality
@emmannweb
@emmannweb 5 ай бұрын
Thank you so much, i'm working it.