Using json-server for local mock API

I keep a boilerplate Rails 5 API-only app among my repos for rapid API building, but sometimes I just want a basic structure to query against (without having to deal with a complete stand alone Rails app).

Enter: json-schema-faker and json-server

Cory House has put together a great tutorial on how to build and serve a json database in 3 easy steps:  https://medium.freecodecamp.org/rapid-development-via-mock-apis-e559087be066

MSO Software

There appears to be a growing trend of physicians participating in the MSO model more and more.

As such, I’ll be building out a MSO module onto the BioRamp platform.

If you’d like a demo of the software, please contact me and we’ll set something up!

Using SMTP relay via Office365 in Rails apps

First you’ll need to add your production box IP address to Exchange Connector

Example URL: https://outlook.office365.com/ecp/?rfr=Admin_o365&exsvurl=1&Realm=yourdomain.com

Then add the following to application production.rb

config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true 
config.action_mailer.smtp_settings = {         
  :address => "yourdomain-com.mail.protection.outlook.com",
  :from => 'somesendername@yourdomain.com',
  :port => 25,
  :domain => "yourdomain.com",
  :enable_starttls_auto => true    
}

and boom! your Rails app will start sending emails through Office 365.

The birth of BioRamp

I think it’s time to leverage my new found understanding of the business side of labs and translate that into useable software.

The result is BioRamp.

BioRamp is intended to be a single solution platform for all end stakeholders of a physician ordered test (physician, patient, lab, billing, sales).

BioRamp is a lightning fast API using React, Relay, and GraphQL.