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.
Let’s first set up the backend application, then we will continue with the frontend, React.
Run the following command.
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.
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:
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. …
Here are some tips that I would like to share with all beginner developers and maybe for those who are interested to become one.
In this tutorial we are going to build a simple login using Angular for the frontend application and FastAPI for the backend application.
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
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.
Of course, we will discuss about the best possible solution to solve the problem and answer the questions.
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.
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.
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.
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…
const http = require('http');const hostname =…