chetannada / Namaste-React

❤ Namaste React Live Course from Zero to Hero 🚀 by Akshay Saini(Founder of NamasteDev). This repository for Assignment & Class Notes taken during Namaste React Live Course #namaste #javascript #react
https://foodfire-app.netlify.app/
1.91k stars 1.01k forks source link

No package.json file #82

Closed Shashi-Srivastav closed 3 months ago

Shashi-Srivastav commented 3 months ago

there is no package.json file for any of the sessions

chetannada commented 3 months ago

Hi @Shashi-Srivastav package.json file is unique file it will be in root of the folder so it's not needed in every session of chapter. I hope you understand!

Shashi-Srivastav commented 3 months ago

Hi @Shashi-Srivastav package.json file is unique file it will be in root of the folder so it's not needed in every session of chapter. I hope you understand!

i think you should package.json file for each session cause in session 2,3,4.. we need to re init npm each time to your your code and when the project started we should have package.json so we can download node modules for each session.. hopw you understand.

chetannada commented 3 months ago

Hi @Shashi-Srivastav package.json file is unique file it will be in root of the folder so it's not needed in every session of chapter. I hope you understand!

i think you should package.json file for each session cause in session 2,3,4.. we need to re init npm each time to your your code and when the project started we should have package.json so we can download node modules for each session.. hopw you understand.

It's not good practice to create package.json file for each chapter instead keep single because we will not remove any dependency on later but we will add more dependency as the project grows. I hope now you understand the project structure of this repository.