When I login for admin and student nothing is happening it is showing admin not registered in console can you plz help me or send me your GitHub repository
Thanks ❤ sir i successfully completed this project by watching your video✨ Feedback: good content great effort ✨, But in my opinion this project will be difficult for beginners who are doing their ,1st or 2nd project as this project and Do some small project and then jump into this video you will definitely complete this without a error 👍🏻👍🏻
the dropdown default value should be admin. it will solve otherwise you should press it admin again like I did. If you need code I paste the link of repository.
Sir in student page while showing book read option should given and while clicking it pdf file of book should get opened i.e while adding book details by admin , pdf file of book should get added to the Represented book and in student book page if we click read button of Represented book the pdf of that book should get opened, how to achieve this idea
Please help. I can login when I'm using only localhost. If I use other pc/mobile on local network, I can't login. When I click on login button, nothing happens. error "blocked by CORS"
await axios.post('localhost:3001/student/register', {roll, username, password, grade }, { withCredentials: true}) .then( res=> { if(res.data.registered) { navigate('/dashboard'); } console.log(res); } ) .catch( err=> console.log(err) ); add { withCredentials: true } for every axios. I also add async on the function await just before axios. I don't know if it's necessary but it works anyway.
hello sir, i am having a trouble in student login, i cant login in student it is not working, i follow the step but it is not working. can you please help me
when i, logging in the proteted routs to the admin and than add student its 505 when im adding student without log its write the invalid admin so in sumery i have bug when im log to admin and than add student can u help me?
I am not able to login as a student... earlier issue was resolved....now i am encountering new one...i have cross checked all the related code..for debugging i tried to print msgs in console even that is not working.. it's like when i try to login as a student..no action takes place. No navigation nothing... help please
@@codewithyousaf and thanks sir i almost completed 80%(balance edit and delete book) of the project by seeing your video ♥️♥️👍🏻and i did some changes in style to make it unique Once i completed the Full project i will do comment and my feedback sir thank you 😌👍🏻
I followed a lot of your courses, always good contents 👏👏👏 next i will follow this one. Keep on, you are doing a precious work.. Many thanks 👌🙏🙏🙏
Thank you Sir... Me too completed successfully by doing it together... It really helped me... Appreciate you you effort...Thanks a lot
When I login for admin and student nothing is happening it is showing admin not registered in console can you plz help me or send me your GitHub repository
Thanks ❤ sir i successfully completed this project by watching your video✨
Feedback: good content great effort ✨,
But in my opinion this project will be difficult for beginners who are doing their ,1st or 2nd project as this project and
Do some small project and then jump into this video you will definitely complete this without a error 👍🏻👍🏻
Good content, please don't stop posting, Teach firebase and other advanced stuffs ♥🔥✨
thank you for helping me link my frontend to the backend, very encouraging
keep continue thanks a lot
Loved this 🔥🔥
great video
you doing very well, can u also make more complex project pleas
I am also unable to connect mongodb, I can't see the database name in database... Please explain 👀🥹
Did you fix the problem?
Is it possible to add a register/signup for that code?
Have use html in this?? Or only Css??
57:48 at this moment...m not able to get past it. I have followed each and every step of yours. But this error is not resolving in mine.
the dropdown default value should be admin. it will solve otherwise you should press it admin again like I did. If you need code I paste the link of repository.
mera tho admin login nhi lee rha...kaise thik kiye
is it a complete project? Can i use this for final cse year
It will be completed If you can add other module also like student borrow, student management some other modules search for that.
can you make a video where students can get issued by books themselves in this website
Thank you so much for your explanation 👍keep up it👍👍👍
Sir in student page while showing book read option should given and while clicking it pdf file of book should get opened i.e while adding book details by admin , pdf file of book should get added to the Represented book and in student book page if we click read button of Represented book the pdf of that book should get opened, how to achieve this idea
i am confused when did you set the password for admin. or you just set when logged in
He created it when he ran this command "node seed.js"
inside seed.js there are lines of code to create admin user and admin password.
Do you also have employee management system?
ImageUrl is saved in mongodb but not display the image through
did you write this line app.use(express.static('public'))
@@codewithyousaf thanks for your help i have already resolved this issue url of image was wrong
Please help.
I can login when I'm using only localhost.
If I use other pc/mobile on local network, I can't login.
When I click on login button, nothing happens.
error "blocked by CORS"
I am unable to connect mongodb, I can't see the database name in database
Same here if you have corrected it please guide
when i tried to do login api and enter as admin, it doesnt work(
const handleSubmit = async (e) => {
e.preventDefault();
await axios.post('localhost:3001/student/register', {roll, username, password, grade }, { withCredentials: true})
.then( res=> {
if(res.data.registered)
{
navigate('/dashboard');
}
console.log(res);
}
)
.catch(
err=> console.log(err)
);
add { withCredentials: true } for every axios. I also add async on the function await just before axios.
I don't know if it's necessary but it works anyway.
Are you trying to login on mobile phone?
I have the same problem.
I can only login when I'm using PC.
hello sir, i am having a trouble in student login, i cant login in student it is not working, i follow the step but it is not working. can you please help me
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
We have two tables then how to get results in without sql
Hello sir, how can i add a new admin?
like how can i register new admin?
@@wawamzing You can manually add it in MongoDB.
Which MongoDB are you using? Online service or Compass?
do you have github repository? please provide the link
when i, logging in the proteted routs to the admin and than add student its 505 when im adding student without log its write the invalid admin so in sumery i have bug when im log to admin and than add student can u help me?
sorry status 500
sir i am saving image url but image is not showing why ?
bro if u dont mind can we get github link where we can access code and make a project can u please
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
what is the password u use for admin
adminpassword
@@aswin_nadh This too not working! What to do now.
When I login for admin and student nothing is happening i have used your source code
check the login function where it should navigate
I checked when I clicked the login button it is showing in network tab in response admin not registered
And also same for student
I am not able to login as a student... earlier issue was resolved....now i am encountering new one...i have cross checked all the related code..for debugging i tried to print msgs in console even that is not working.. it's like when i try to login as a student..no action takes place. No navigation nothing... help please
It's okay..issue resolved!!!!🙄😅
hellow i cant login as a student too, how did you fix it, can you please help me? :
send me the front end code or video of this app store book
❤❤😊
Any one completed this project?,its working well?
@@anku3938 bro im in 1:56:38 till now every thing is running smooth
@@anku3938your facing error after this?
yes
@@Ramofficciall how can i add new admin
@@Ramofficciall can you give me source code link
Sir can you please provide the source code link.
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
@@codewithyousaf Thank you sir.... 😊
Can u send the source code?
please upload source code
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
@@codewithyousaf thank you bro
Can u please attach the source code
❤🙏🏻
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
@@codewithyousaf and thanks sir i almost completed 80%(balance edit and delete book) of the project by seeing your video ♥️♥️👍🏻and i did some changes in style to make it unique
Once i completed the Full project i will do comment and my feedback sir thank you 😌👍🏻
Sir is there crud used in this project @@ganeshj1065
The Source Code please 🙌🙌🙌😊
github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack
Thankyou sir🎉
I am unable to connect mongodb, I can't see the database name in database ..
You are using MongoDB compass or online
@@codewithyousafmongodb compass
@@codewithyousafMongoDB compass bro...
But now it's connected..but then cookies does not store the tokens...please reply...
@@anku3938
Server side - CORS({origin, credential})
Front-end: Axios.defaults.withCredentals = true
@@anku3938 github.com/YousafKhan1/MERN-Stack/tree/main/Book%20Store%20MS%20using%20MERN%20Stack