Skip to main content

Posts

Showing posts with the label Python

Django app with an AngularJS front-end

In this post I will briefly talk about my solution to building a Django app which has an AngularJS front-end. This wasn't a major problem as such, but it did cost me some extra time when I tried to get it done, so naturally on solving this issue I felt that I should help the next programmer facing such as issue. Therefore I created a Github repo i.e. a sample project that can help anyone get started on something like this. Background I have a background in building Java web apps , I mean almost 70-80% code that I wrote for my previous jobs was in Java . So building a Java web app with an AngularJS front-end was something I knew how to do but I had a few minor hurdles when I wanted to achieve the same with a Python/Django backend. When I started working on solving this problem, I thought to myself "I wish there was a simple sample project which showed all aspects of this sort of application and how it all comes together"... and since I couldn't find a sam...

Ionic app with a Django backend: Part 1 - The backend

In this post, I will be talking about my latest Github repository(repo);  IonicAppWithRestBackend  and delve into details about what it is and the problem it aims to solve. Introduction The idea of this repo is to provide code samples for both the backend and front-end for an Ionic app that communicates with a REST ful backend. The aim is to bring many disparate aspects of building a solution like this(hybrid app that talks to a REST backend) and to be able to see most of them as one complete solution. Also, a solution such as this ensures you can test your Ionic app locally during development. Still not clear? read on to find out what I mean. Note: Once I started writing this post, I realised that it would be a really long blog post, so I decided to split it into individual parts in hopes that it's an easier read. In part 1, I will be talking about what the backend solution is and how to get it running. Motivation In 2014, I started working on a project with someon...