Building a blog using Flask and AngularJS Part 2

This is the second part of the tutorial series. If you haven't yet read the first part, you can read it here - http://blog.john.mayonvolcanosoftware.com/building-a-blog-using-flask-and-angularjs-part-1/ Since we are done building the REST API in the first part of the series, in this part we will now…

Building a blog using Flask and AngularJS Part 1

In this tutorial, we will build a blog using Flask and AngularJS. This is the first part of the tutorial series. In this part we will focus on building the REST API which will be used by the AngularJS application. Goals The goals of the application are simple: It should…

Don't just blindly use a tool because it is cool or someone told you to use it

Edit: This is not a post that is saying that you shouldn't use tools like Vagrant, Git etc... My main point here is developers shouldn't use a tool just because it is cool or just because someone told them to use it because it is better than X, Y and…

RESTful API Centric App Using ExpressJS, AngularJS, MongoDB and JSON Web Tokens

I played around with ExpressJS, AngularJS, MongoDB and JSON Web Tokens (JWT) to create a RESTful API Centric Todo Application to experiment in using JWT and I thought I should share the source code to others. You can view or grab the source code on Github - https://github.com…

Protecting routes in AngularJS

If you have some routes in AngularJS that you want to protect from non-authenticated users, just create a function that will redirect to your login route if user is not authenticated var loginRequired = function($location, $q) { var deferred = $q.defer(); if(! userIsAuthenticated()) { deferred.reject() $location.path('/login'); } else { deferred…

Cities Autocomplete Using jQuery And GeoBytes API

Just wanted to share this since it might be useful for others. It's an autocomplete for multiple cities that will be separated by commas. Demo - http://files.mayonvolcanosoftware.com/cities-autocomplete.html Source code - https://github.com/basco-johnkevin/cities-autocomplete…