/basexpressmongo

Learning to use mongo with express

Primary LanguageJavaScript

  • install express -- npm install express --save

  • install mongoDB -- installer file: https://www.mongodb.com/download-center/community

  • install mongoose -- npm install mongoose --save

  • debugging -- node --inspect server.js -- open chrome://inspect and go to chrome://inspect ---- add your website address, example localhost:8000 ---- add 'debugger' line to the code where you want to stop the execution ---- it works!