Express API Refkit

Posted on under Coding & Tech, Projects & Experiments Leave a comment

https://github.com/anuragbhd/express-api-refkit I frequently create APIs for muse/professional apps, and every time I find myself scrambling to pick the best pieces from my previously built APIs or online repositories. To streamline this, I recently created this reference kit (mostly for myself) to help me in writing a production-grade Express-based API from scratch. Sharing with this group in hopes that my fellow […]

My first cron job

Posted on under Coding & Tech Leave a comment

That’s right. Believe it or not. I created my first cron job TODAY! This is what it looks like: It’s a very simple job that calls a Node.js script to renew a watch I have on one of my Gmail accounts. at exactly 4:00am daily. Now, what is a watch or why I am watching […]

Sencha Touch: Accessing a remote API that is under Basic Authentication

Posted on under Coding & Tech, Tutorials 2 Comments

ST makes it pretty straightforward to access webservices or APIs through its various data proxies and Ext.Ajax. But consuming an API protected under basic authentication can be tricky. Both data proxies and Ext.Ajax provide setUsername() and setPassword() methods, and they work fine on most browsers. But in my experience using these methods, I had big […]