Replies: 5 comments 12 replies
-
ESlint is reporting an issue with $ npx eslint --fix .
~/codebooker/src/server/index.js
5:7 error 'path' is assigned a value but never used no-unused-vars |
Beta Was this translation helpful? Give feedback.
-
Need to add nodemon package (and add a nodemon.json config file) to the server to watch the express server at @ /server/index.js and reload if necessary. |
Beta Was this translation helpful? Give feedback.
-
We also still have this: $ npx eslint --fix .
/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/codebooker/src/server/controller/booksController.js
14:28 error 'category' is assigned a value but never used no-unused-vars
/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/codebooker/src/server/index.js
5:7 error 'path' is assigned a value but never used no-unused-vars
17:7 error 'User' is assigned a value but never used no-unused-vars in /server/index.js |
Beta Was this translation helpful? Give feedback.
-
Does the books collection/model/schema work? it should save the data to the books collection. I think we're still relying on the json that is in the code. I get a wierd error from React. |
Beta Was this translation helpful? Give feedback.
-
Hii @gbowne1
Can you explain the Backend model db flow...models,relationships...if the backend is completed then its easy with frontend
Beta Was this translation helpful? Give feedback.
All reactions