Starting the server
This page will help you on how to run the backend of this repo
#
RequirementsYou will need to have NodeJS on your machine and an account and cluster on MongoDB Atlas. With that setup, cd
to graphing/server
and run:
for this project I'm running the NodeJS server with nodemon. To do so you can type:
The only thing last is to add the URL of your MongoDB Atlas cluster to mongoose.connect on app.js
. Mine looks something like this:
So you're ready to go and the server is listening for requests on port 4000