Skip to main content

Posts

Showing posts with the label app

A user story leading to end-user and technical requirements

This post details the requirements for the game concept that we have in mind. Up next is the user story behind this app idea. User Story I want to be able to solve everyday mathematical problems mentally without using a calculator. Objective A simple game where you sharpen your math skills by answering a few quick questions. The questions can be, e.g.  7 * 8, 0.88 * 0.44 , 9 / 3 , 987 – 432, 999 + 1324 etc etc. There is no time limit to answer the question but there will be a timer that will keep track of how long before a question was answered. So that way you can see your progress at the speed of answering questions, over time. Requirements A random number generator to generate numbers. A selection of the Mathematical operation to apply to it i.e. + – * / . A selection of the number of digits for the calculation e.g. 2 = 0.83, 3 = 432, etc. A timer feature to show a ticking clock until the question is answered. Track scores! Provide a storage mechanism ...

ionic serve for an Ionic 1.0 app with Ionic 4 CLI

I first used the Ionic framework in 2015 and it has come a long way since then and it is now up to version 4. My app, My Day To-Do is a native iOS app however it’s UI is powered by HTML5 and more importantly Ionic 1 which involves using the Ionic CLI when debugging it’s UI. Recently, I updated the Ionic CLI and that meant that I couldn’t run my Ionic 1 code the way I used to. Hence In this post, I will share my solution of how to run Ionic 1 code base with the latest Ionic CLI i.e. 4.10.3. Problem After updating the Ionic CLI to 4.10.3 the first error I got when trying to debug my app UI using  ionic serve  was, [WARN] Could not determine project type (project config: .\ionic.config.json). The next error was Error: ENOENT: no such file or directory, open ‘DirectoryPath\package.json’ Solution To solve this problem, what I had to do was to create a new blank project with the latest Ionic CLI and simply copied those files from there as follows Start a new projec...

An app about the Galaxy's finest smugglers(SW): Ionic app with a Java backend

In this post we will continue the story of Cpt.Danko (Danko) and how he returned to work from 3 months of medical leave and was asked to build a mobile app about the Galaxy's finest smugglers using technologies that he knew little about. In the first part of the story we got to know how Danko built the Java backend for the app and in this part we will explore the front-end side of things i.e. the Ionic framework powered mobile app. Background In the first part of this story, Java RESTful backend for an app about the Galaxy's finest smugglers , we learned about the new project requirements that Danko had to work with, which were For his new project, Danko was asked to build an app that that shows a list of some of the  galaxy's finest smugglers   their race when we click on them  and the user should also have the ability to add a smuggler Since this was a client project, the UI for the project was already known and the first thing that Danko had to do was ...

Java RESTful Backend for an app about the Galaxy's finest smugglers (SW)

In this post, I aim to show how to build a Java RESTful web service or a Java Restful backend that can be used(consumed) by a mobile app or a web site. Unlike my pervious posts where I explain a technical solution, I am going to structure this one differently. In this one I am going to try and tell a developer's story through it. Background Our story picks up from the time Cpt.Danko (Danko) returns to work after being away for 3 months on medical leave. At this point all we know about Danko is that before going on leave he was just a developer, all he did was write code the way he was asked to and he had very little responsibility. On returning to work, he didn't realise that he was no longer just a developer but he was actually "promoted" to a full-stack developer and had heaps(lots) more responsibility with the same old (low) wage. This "promotion" caught him by surprise as after being away for 3 months he expected to have the same level of responsi...

Building my first mobile app: the journey - Part 3: App released

To start with part 3, I think it's best we have a recap of all the events leading up to this. So here we go, Previously in parts 1 and 2... I had a great life, a loving girlfriend, a job I liked etc etc and little did I know that it was the calm before the storm. One evening I had a really bad accident while I was out on my usual run, what happened was while crossing the road, I was hit by a car and left for dead on the street.  I suffered a few injuries as a result of the accident, one of which was a Traumatic Brain injury and I lost a lot of what was very dear to me. I lost my girlfriend(breakup), my ability to walk(at the time), my memory wasn't as good anymore and a number of other things. A few months after my accident, I started building my first mobile(iOS) app which would serve as a tool to help me in my daily life. That was a quick recap of the events, if you want to know more, you can have a read of part 1  and part 2 . Hmm, where do we begin? The app that I ...

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

In this post, I will continue from where we left in Part 1 of this series.  In part 2, I will talk more about the front-end side of things. Ahh, I have a background in web development, hence I call this front-end, but that's not the most accurate thing to say in these modern times. So the right way to say this is, I will talk about the Ionic app in this Github repository(IonicAppWithRestBackend) in more details in this post. So what did we do in part 1? In part 1, we got to the point of running our backend on the web server that ships with Django . To refresh your memory, this is how we got the backend server running, Clone the repo git clone https://github.com/cptdanko/IonicAppWithRestBackend Navigate to the backend project directory cd IonicAppWithRestBackend/backend/python_django/restBackend/ Note: if you are using Windows, you may want to change "/" to "\" in the above command. Once there you can run the backend server with the follow...