Name: mock-prescriptions-api
Owner: Department of Veterans Affairs
Description: Fake data to create a simple, mock API
Created: 2016-05-26 16:58:13.0
Updated: 2016-11-02 21:46:53.0
Pushed: 2016-11-03 23:15:46.0
Homepage: null
Size: 21
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Fake data to create a simple, mock API to separate front end and backend dependencies during development.
All the data used in this repo started out as fake data not belonging to any real user or user identifier. I then took out any parts that could even be construed as being real to avoid any potential confusion.
Clone the repo
clone https://github.com/department-of-veterans-affairs/mock-prescriptions-api.git
Start the server:
ock-prescriptions-api
server.rb
Go to localhost:3004. You should get a list of the routes available for use with this mock API. These are:
Go to any of these routes (for example localhost:3004/rx/v1/history) to get a json response that will match the format you will receive from the real API.