MERN Stack Book keeping App: #24. http request using redux to create book

preview_player
Показать описание
In this video we will use redux to dispatch action to create book
Рекомендации по теме
Комментарии
Автор

I was getting an error that createdby is required so i added the auth middleware to that route but now the request is always pending... Help pls?

SleepingKoala
Автор

I am getting an error as we define createdBy in book model which is required but we never pass it from the frontend. To run code I think we should remove createdBy part from book model or pass it from the frontend.

vishalgarg
Автор

I am not sure why i am getting error connection refused. I think its all good with my backend and frontend is done same as you

aleksandranikolov