Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.27 KB

README.md

File metadata and controls

62 lines (44 loc) · 1.27 KB

DEVCONNECT 2018 Identity Management Application

This is a demonstration application written to how to interact with OCLC web service in Node.js. It uses best programming practices like

  • dependency management
  • object-oriented programming
  • model view controller (MVC) code structures
  • unit testing

Installation

Step 1: Install from GitHub

In a Terminal Window

$ cd {yourGitHomeDirectory}
$ git clone https://github.com/OCLC-Developer-Network/devnet2018-idm.git
$ cd devnet2018-idm

Step 2: Use npm to install the dependencies

$ npm install

Step 3: Configure your environment file with your WSKey/secret and other info

$ cp test_config.yml prod_config.yml
$ vi prod_config.yml

Edit the following values

  • wskey
  • secret
  • institution

Usage

Start the built-in web server

$ npm start

View the application

Point your web browser at the localhost address where these instructions will install it by default.

http://localhost:8000

Running Tests

Unit Tests

From the command line run

$ npm test

How this was built

For a step by step tutorial on this application see the tutorial section