Skip to content

ojafri/pd-api

Repository files navigation

provider-directory-api

XO code style

This repository contains implementation code for the Provider Directory project.

Documentation corresponding to the dev branch of this repository can be found here.

Directions

  1. git clone [email protected]:medicity/provider-directory-api.git
  2. cd provider-directory-api
  3. npm install
  4. npm run start
  5. visit http://localhost:3000 in browser

Running Tests

  1. add a file to the config folder named local.js containing the code below:

     module.exports = {
       mongo: {
         host: 'localhost'
       }
     }
    

This will insure that you run tests against your local mongo instance and avoid concurrency issues with the centralized build

  1. run one of the following npm commands
  2. npm test (run all tests)
  3. npm run ava (run unit tests)
  4. npm run cuke (run all cucumber tests)
  5. npm run cuke-debug (run all cucumber tests with debug output)
  6. npm run cuke-feature {path to feature} (run tests for a specific cucumber feature)
> e.g. `npm run cuke-feature test/features/zips.feature`
  1. npm run cuke-feature-debug {path to feature} (run tests for a specific cucumber feature with debug output)
> e.g. `npm run cuke-feature-debug test/features/zips.feature`
  1. npm run cuke -- --name='{scenario name regex}' (run a specific scenario)
> e.g. `npm run cuke -- --name='create a client'`
  1. npm run cuke-debug -- --name='{scenario name regex}' (run a specific scenario with debug output)
> e.g. `npm run cuke-debug -- --name='create a client'`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published