department-of-veterans-affairs/mock-prescriptions-api

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mock Prescriptions Api

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.

How to use:

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.