DEV Community

S. M. Ahad Ali Chowdhury
S. M. Ahad Ali Chowdhury

Posted on

1

nodemon install and work with backend(express and mongo)

  1. First download the nodemon package
    for globally
    npm i -g nodemon
    OR
    npm install --global nodemon

      for locally
    
          npm i nodemon 
                   OR
          npm install --save-dev nodemon
    
  2. go to your "package.json" file and go also "scripts" object and write

"scripts": {
"start": "nodemon (your main js file, where you do main work like server connect => for example , app.js)"
},

that's it

  1. Now you can try your terminal npm start for starting this app

good day

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️