- Clone the repo
git clone https://github.com/KristopherPaulsen/genuine-mock-server-helloworld
-
install packages
npm install
-
start the mock server (using node, nodemon, or your prefered script watcher)
node server.js
-
curl any of the endpoints in mocks/helloworld
curl http://localhost:8080/api/helloworld/simple