Skip to content

Feat/added nodemon#1039

Open
tejinderpa wants to merge 2 commits into
Charushi06:mainfrom
tejinderpa:feat/added_nodemon
Open

Feat/added nodemon#1039
tejinderpa wants to merge 2 commits into
Charushi06:mainfrom
tejinderpa:feat/added_nodemon

Conversation

@tejinderpa
Copy link
Copy Markdown

Related Issue

Closes #1038
Summary
Added backend hot-reload support for local development using Nodemon, so developers no longer need to manually restart the Node.js server after backend file changes.

Changes Made
Added a dev script in package.json:
npm run dev
Runs nodemon server.js
Kept the existing production-style start script:
npm start
Runs node server.js
Installed nodemon as a development dependency.
Updated README.md to document npm run dev for local development.
Updated CONTRIBUTING.md with setup steps for installing dependencies and starting the development server.

Testing
Ran the test suite with:
npm run test
All tests passed: 5/5.

Screenshots

Add screenshots if UI changes exist.
Intially :
image
Now :
image

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included
  • Documentation updated (if applicable)

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a Nodemon-based development workflow and updates docs accordingly, plus a small CSS tweak to stabilize styling where borders may be applied.

Changes:

  • Add npm run dev using Nodemon and include Nodemon as a devDependency.
  • Update README/CONTRIBUTING to document the new local dev command and production-style start.
  • Add border: 1px solid transparent in a few CSS blocks (likely to avoid layout shift when borders appear on interaction).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
package.json Adds dev script and nodemon dev dependency to support a hot-reload dev loop.
css/index.css Reserves border space via transparent border in multiple repeated style blocks.
README.md Switches “Run Locally” instructions to npm run dev and documents npm start for production-style runs.
CONTRIBUTING.md Adds explicit install + npm run dev steps for contributors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread css/index.css
color: var(--color-text-secondary);
padding: 2px 8px;
border-radius: 12px;
border: 1px solid transparent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: adding nodemon to dependencies to make the backend server rerun automated

2 participants