CS6387.001-Project

  1. Download and install Node.js (https://nodejs.org/en/download/).
  2. Using command line, update to the latest version of NPM (Node Package Manager):
         npm install npm@latest -g
  3. 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
  4. Using command line, install all dependencies that are specified in the package.json file:
         npm install
  5. 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”.
  6. Navigate to one of the example endpoints. In your browser, go to:
         http://localhost:3000
         http://localhost:3000/GetBooksForClass/?class=CS1336.001.17S