1-run npm install inside rootdir/backend .
this will install all the dependencies for the backend
2 run npm start in the same dir.
this will start the backend server on port:5000
3- run npm install inside root/chatbox
this will install all the dependencies for the frontend
4- run npm start in the same dir
this will start the front end server on port:3000
you should have node preinstalled
I used express for this project