- Download and install Node.js (https://nodejs.org/en/download/).
- Using command line, update to the latest version of NPM (Node Package Manager):
npm install npm@latest -g - Using command line, navigate to the location of the server's package.json file. For me:
cd C:\Users\wretz\Desktop\CS6387.001-Project\trunk\Backend - Using command line, install all dependencies that are specified in the package.json file:
npm install - Using command line, start the web server. In my case, I ran the command below.
node C:\Users\wretz\Desktop\CS6387.001-Project\trunk\Backend\server.js
It will say “server is listening on 3000”. - Navigate to one of the example endpoints. In your browser, go to:
http://localhost:3000
http://localhost:3000/GetBooksForClass/?class=CS1336.001.17S