Skip to main content

Posts

Showing posts with the label Ionic

Saving user data in NoSql Firestore database

Coming from a relational database background, working with a NoSql database was interesting. It requires a slightly different way of thinking about how you store your data. More specifically, I felt that was when I was building our new hybrid app with Ionic framework and Firebase/Firestore database. Some of the features of our (my) new app were user authentication and everything the user creates in the app will be saved to the user’s credentials. Sounds simple huh? Actually, if I read that, it sounds super simple to me too, however when building the app, all the tutorials I found online on Ionic, Firebase/Firestore and AngularFire, didn’t quite explain what I wanted. So, in this post, I will be showing you the logic in an Ionic/Firebase app where, the user can signup/login make (save) notes by the userid how to retrieve all the notes saved by that user In addition to the above, almost all of the Ionic tutorials I have seen online don’t provide code samples that support their ...

REST API using Django for Ionic app

In this post, I will be talking about my latest Github repository  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. Motivation In 2014, I started working on a project with someone which involved building a mobile app that fetches/sends data to a REST backend. My associate did not have a very technical background…I mean she knew a lot more than people from her academic background would but she wasn’t a programmer. Therefore I wa...