Software Developer

In any graphical application, there are two major components, Frontend & Backend. If you are building a new application, you would probably use a framework or library like Angular or React to write a powerful Frontend application, you would use another framework like Express.js, Django or Spring to write a powerful Backend application and along with that, you would use a database service like MongoDB, PostgreSQL or MySQL. …


If I think about writing web applications in NodeJS, the Express framework immediately comes to my mind. For a really long time, the Express framework has been the most widely used framework in NodeJS with more than 10 million downloads per week from the NPM registry. In this article, we’ll go through creating a REST application that uses the Express framework, written in TypeScript, and runs on NodeJS.

Image for post
Image for post

Groundwork

My quest began by searching for some REST API projects that use the Express framework. Surprisingly, I was not able to find any such projects but I did find this TypeScript-Node-Starter repository by Microsoft for Express projects written in TypeScript. This project was great, had a great structure and most aspects of a full-stack application were covered under this. But when I dug deeper into this project, I did find some discrepancies including some unnecessary code and dependencies and I knew this would not be good for writing a REST application. After that, I began writing my application from scratch but I did take some extremely useful parts from the TypeScript-Node-Starter repository which we will talk about later in this article. …


If we talk about application development in Python, most people would think about Flask and Django. These two frameworks are the most widely used frameworks in Python. Now, there is a new framework available called “FastAPI”, which is extremely powerful and very easy to learn and it might become even more popular than Flask and Django. This framework was developed by Sebastián Ramírez in late 2018 and has been continuously under development ever since.

FastAPI logo
FastAPI logo

Groundwork

For writing application backend, I have always used the Flask framework. And so far my experience with Flask has been just fine, its a pretty simple and straight forward framework that you can use to write simple APIs. You can check out my Github Profile to find some pretty cool applications written in Flask. …


A couple of years ago I was assigned a task to implement an application feature that allows users to switch between application icons. The application was built using React-Native so my solution was to write an open-source library called react-native-change-icon.

Image for post
Image for post

Writing

I began by using the react-native-create-library tool to create a template that provided me with the basic file and directory setup which includes the required Java classes for Android and Objective-C modules for iOS. Now you might think that I must be mad skilled at writing code in Java and Objective-C but that far away from the truth. …


“JavaScript” for web, mobile, and now, desktop applications too
“JavaScript” for web, mobile, and now, desktop applications too

Its been a few days since I came upon a project to build a desktop application. I have worked on web and mobile applications in the past using React and React-Native but this was something new. Long ago, I heard about a framework that allows us to create multi-platform desktop applications in JavaScript and I thought to myself that this should be used for this project. That framework was “Electron”!

Electron applications run on two threads, main and renderer. The main thread uses Electron APIs to communicate with the OS to perform native desktop application operations. The renderer thread is responsible for rendering the DOM on the application window. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store