openmrs.js (JavaScript API Wrapper)

It’s debatable. Some big projects like bootstrap and lodash publish build artifacts to GitHub. Some other projects do this, but not in the master branch. I believe the reason for this is to enable installing with Bower.

That said, I’ve removed the lib directory, since I’m actually in favor of npm for all the things.

2 Likes

We need moar shields (because @michael nitpicked)

This one is teed up for you, @burke ^^

2 Likes
1 Like

I am a huge fan of http://forthebadge.com/

2 Likes

I published some examples of how openmrs.js can be used here. So far I have:

  1. Basic node console usage
  2. A script to create random patients
  3. Basic browser console usage

Feedback welcome :slight_smile:.

3 Likes

Pascal, any interest in giving a demo during a call?

2 Likes

Sure @jdick. Pretty much everything you need to know is in the README and in the examples, but I’m happy to give a demo if people would like one.

I’m working on a React example with some friends, but it isn’t ready yet.

It looks like the library has been installed quite a few times. Does anyone have any feedback?

2 Likes

I can’t agree more with this:

4 Likes

That article pretty much nailed it.

@pascal one challenge I see with this approach is the difficulty to know the generated API. Is there any change you have thought of an easy way to see this other than building another webpage or calling help on console?

Do you need something more than the dynamically generated API docs on the admin page?