Project is a practice from Pro MERN.
-
install dependencies:
npm i -g pnpm
pnpm i
-
start and populate database:
- run a Mongo database.
- populate data :
mongosh generate-random.mongo.js
- or
mongosh --host {Host} --port {PORT} --file generate-random.mongo.js
-
run:
-
In memory:
-
run:
pnpm dev:all-hook
and open browser on :localhost:8082
-
or
pnpm start:hook
and in other terminalpnpm start:client-server
and view onlocalhost:8082
-
-
In file system:
-
build:
pnpm build
-
run:
pnpm start
-
open
localhost:8081
-
-
node stream