-
Execute below command to spin up a Mongo DB using a docker image and following are commands to start/stop Mongo DB instance.
docker compose up -d
docker compose stop
docker compose start
-
Execute below command to run node application in local for development mode.
npm run dev
- Execute below command to install node and express packages.
npm i express ejs mongodb nodemon
- Execute below command to run node application in local for development mode.
npm run ourserver
- Further execute below command to install few more packages.
npm i react react-dom @babel/core @babel/preset-react babel-loader webpack webpack-cli webpack-node-externals npm-run-all axios multer sanitize-html fs-extra sharp