first you need to install mongodb in your computer and start the service (From command line is like this)
sudo service mongod start
service mongod start
to stop it only change start
for stop
.
Later you have to install the depencies in both folders running the command npm install
as in the server folder as in the client folder.
After both installations are done, run first npm run start
inside the server directory and generate dummy data throught the /create
endpoint, for default it will generate 100 articles, you can change that in Pagination/server/routes/index.js
, after that go to the client and run it with npm run server
. you should see something like this...