Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 903 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 903 Bytes

Devoxx-API-Router

This API routes private api calls to Devoxx and authenticates them.

Link to the live website: http://bit.ly/personal-devoxx

Usage

Link to the live website: http://bit.ly/personal-devoxx To run the API locally, clone this repo and then go through the below pre-requisites.

Pre-requisites

You will need to setup a local wiremock server. We've provided some sample 'mappings' in /test/wiremock/mappings.

Once this is done. Export the WIREMOCK_SERVER environment variable.

Running the app

    npm install
    export WIREMOCK_SERVER=http://localhost:1234
    # use your wiremock URL
    npm start

Testing

The testing frameworks used for this API are Supertest, Mocha and Chai. To run these tests clone the repo and run the following command:

    npm install
    npm test

Capgemini

Come and work with us!

https://www.uk.capgemini.com/