Image for post
Image for post
koa typescript

In this tutorial, we are going to build a simple login using React for the frontend application and Koa(Typescript) for the backend application

Aside from React and Koa, we will be using Objection.js (ORM) and MySQL (database).


First, we need to make sure we already have Node.js installed.

Setting Up The Koa Backend App

Let’s first set up the backend application, then we will continue with the frontend, React.

We will be using Koa for our backend framework. Originally, Koa comes in Javascript but since Typescript has been getting a lot of attention, we will be using Typescript to set up Koa.

Run the following command.

mkdir rasyue
cd rasyue
mkdir backend

In this tutorial we will be using Django that serves as our backend application and create both REST API and GraphQL with MySQL for the database.

Image for post
Image for post
django rest api graphql


Django is a Python framework that is open-source and follows the model-template-views architectural pattern. If you have used a framework the follows the model-template-views before, picking up Django will be much more easier.

To follow along with this tutorial, make sure you have these installed:

  1. Python
  2. MySQL (I am using XAMPP which is easier to setup)

Without further ado, let’s get started.


First, let’s create a folder for our project and then let’s create virtual environment for our project. Open your command prompt and run this. I will be using Anaconda but it’s fine if you installed Python. …

Image for post
Image for post

Here are some tips that I would like to share with all beginner developers and maybe for those who are interested to become one.

  1. There’s no such thing as a do-it-all programming language. Each language has its pluses and minuses. Learn to understand the pluses and minuses of each languages.
  2. Its always a good thing to know a lot of languages but really make sure that you have one language that you are comfortable with and know in depth.
  3. Programming is really fun and interesting with so many languages to learn but remember to go at your own pace.
  4. A programmer/developer burnout is a real thing. I have met a couple of people who suffered from burnout and ultimately it killed their passion and interest in coding. Learn to recognize it and take a long break if you have too. …

Image for post
Image for post

In this tutorial we are going to build a simple login using Angular for the frontend application and FastAPI for the backend application.

Angular & FastAPI

To start things off, let’s first create our Angular app for the frontend. After we have finish creating the necessary thing in our frontend app, then only will we move to our backend.

Run below command. Make sure you have Node js installed.

npm install -g @angular/cli

ng new my-app

cd my-app

npm start

With that, you will have you frontend application now running. But its the default application. …

The idea of this post is to list down most of the problems that you had with Git or will have in the future as well as some common questions about Git.

Image for post
Image for post
git for beginners

Of course, we will discuss about the best possible solution to solve the problem and answer the questions.

Problems & Questions

1. What is a branch in Git?

To quote from Atlassian, “A branch represents an independent line of development. Branches serve as an abstraction for the edit/stage/commit process.

In simpler terms, a branch in Git is like a separate copy of your source code but not physically. Any work in a branch will not affect the other branches. …

In this digital age, its a no brainer for every Startup to own a website if they can afford it. Here are the things to know if you are planning to have a website for your startup.


1. Creating a Website Costs Money

YES! Whether you like it or not, if you are planning to have a website for your startup, you will have to pay for it. Now the main question is, how much should I be paying to have my own startup website?

If you want to have a website, you will have to pay for the hosting services and the domain, you might want to check out some of these websites to go through their services and prices. GoDaddy, Bluehost, Hostinger, GoogleCloud, AWS, Microsoft Azure, just to name a few. …


Python in 2020 is still consider as one of the top languages and a lot of people are still using this language. Mainly because Python can be considered as a casual and easy to type language.

You can write a Python script to achieve a lot of purpose like starting up a server, creating an API endpoint, build a website with Python’s various web frameworks, data science, machine learning and a lot more.

In this post, we are going to talk about Object-Oriented Programming in Python. We are going to see to what extend can we use OOP in Python. If you are new to Object-Oriented Programming, you are welcome to check my post on Object-Oriented Programming in PHP to help you to understand the basic of OOP. …

Welcome folks! In this tutorial we are going to write PHP code to connect to the database OOP style! In case if you are not familiar with OOP or Object-Oriented Programming, you can check out my previous post here.

We will write code to connect to two databases which are MongoDB and MySQL. I will be using XAMPP in this tutorial or if you want to use a standalone Apache or Nginx, feel free to do so.


A database connection is a big part in any web development. Often time, many new developers will find themselves putting their database credentials and making database connection in every part of their project. Not to mention the mistake of writing similar or the exact same queries over and over again.
This tutorial aims at beginners on how we can use OOP in PHP to setup a database connection and writing methods for queries so you Do Not Repeat yourself. …

For many new coders, beginners or even those who can considered themselves as intermediates, the concept of object-oriented programming can be frightening. In this tutorial, we are going to try to explain the concept of OOP so the beginners in PHP can pick this up and start to use it in their coding.

Image for post
Image for post

Procedural Programming in PHP

Before we explain about object-oriented programming, let’s talk about procedural programming for a bit. For those who never heard of this before, procedural is like a programming concept that you used when you first pick up PHP. For example,

<?php$declare_variable1 = 'my variable value in string';
$declare_variable2 = 123 //integer
$declare_variable3 = true…

In this tutorial, we are going to talk about Deno. Deno is a runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language. It was created by Ryan Dahl, original creator of Node.js, and is focused on productivity. It was announced by Dahl in 2018 during his talk “10 Things I Regret About Node.js”.

Image for post
Image for post

Let’s Get Down to Business

We are going to create a back-end server using Deno, if you are familiar with NodeJs and Express, you should already know how to run a server using NodeJs or Express. For example:


const http = require('http');const hostname =…



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