Did you already make a STEM application for mobile? Not using Drupal? Have access to a PHP server?
Then BADGE BUDDY is for you. It's open source and available on GitHub
here:
https://github.com/projectwhitecard/badgebuddy/