It was an hour before our client demo. I did a new Business Provider registration (one of four types of users in our application) and then tried to login as this registered user. I got an authentication failure — Invalid Username or Password. I tried a couple of times, thinking I might have mistyped one of username or password. No luck! I then registered as another user to see if the issue was with this type of user. I couldn’t login with that user either!
Our demo app had already registered users, using which we could login fine. We used…
Having done similar apps before, we quickly built the first few features. Like typical apps, our app had to cater to multiple user roles, including Admin. Admin had to manage a number of master data, involving typical CRUD work flow.
In no time, we realised that our app was handling more than sixty API requests! …
For the background behind this, read this.
Co-WIN has published a number of public (readOnly) APIs. I wanted to use these to book myself a vaccine slot.
The general approach was this
The primary reason for this choice was that the…
The backend for one of our projects is in java and spring boot. As part of best practices of software development, we configured our code to be analysed by Sonarqube, an awesome tool for code quality.
As we looked at the different types of issues reported by the tool, we spotted this one
Declare this local variable with “var” instead.
Laravel, one of the most popular php framework had a new release on 8th September — Laravel 8.
We have a couple of applications, whose backend is in laravel. I had previously written about how we upgraded them to the latest version of the framework (at that time).
It was two months since the release and we thought, this was a good time to attempt an upgrade. As before, the best place to start is the Upgrade Guide.
The required php version is now
7.3.0. We were covered on that front, having migrated to php-7.4 recently. …
We use an E2E public cloud system to run our website, some of our internal applications as well staging instances of the applications that we develop.
The applications use various technologies — html, php, ruby, python, nodejs, java as well as docker container. We use nginx and run each application on dedicated subdomains. We also use MySQL and postgresql databases for many of the apps.
Our server has been running 18.04 LTS with most of the programming tools/technologies locked to the LTS version. In some cases, we have done manual upgrades.
Laravel v5.5 was the first version to not work with php 5.x. It needed php 7.x.
As before, based on the upgrade guide, we changed
We also made a few other changes, especially for the new package discovery feature introduced in this version and it was time to run
Our update went…
It was July 2014. One of our earliest US customers required an iOS mobile app. We were building the app from scratch and end to end. While iOS was new to us, for backend, we wanted to stick to a familiar programming language. At that time, most of our developers were php developers. Their previous experience was with codeignitor or yii framework. Around this time, laravel framework was becoming a popular choice in php world. We decided to build the app backend in laravel (which was in version 4.2).
We found the framework was easy to pick up and had…
When we set it up, we had a LAMP stack environment for our internal tools. This matched the recommended stack of the software. There is a web based installer, which takes database details as input, does a series of steps, including verifying the pre-requisites and then does the installation.
Over the years, as newer releases were available, we used the web based upgrade option to upgrade our installation as well.
This was until, we switched from Apache to Nginx (with http2). We also saw…