Move into the directory and install dependencies
cd Projects-in-CS-CRUD-Backend
npm install
To start up dev server with nodemon:
# Run the appropriate command based on your system:
# On Mac/Linux:
npm run dev
# On Windows:
npm run dev_windows
I recommend installing nodemon
npm i --save-dev nodemon
Add the following to the list of scripts in package.json
:
"dev": "npx nodemon ./bin/www"
Nodemon will automatically reload the server when file changes are detected.
npm run dev