npm i nodemon http-server concurrently -g
- to install global dependenciesnpm i
to install local dependencies
npm start
- to run localhost client server
- download and install mongodb from mongoDB website. Utwórz katalog C:/data/db. Dodaj do PATH scieżkę do katalogu mongodb/bin.
npm i mongodb --save
npm i nodemon -g
npm i express --save
mongod
- to run mongomongoimport --db course --collection posts --file db.json --jsonArray
- to import db data from filenpm start
- to run localhost client server