CODEX

In this tutorial, we are going to look at how to set up a login system in Angular and Hapi.js.

Image for post
Image for post

Introduction

The purpose of this article is to provide a quick and easy-to-understand walkthrough for beginners, for those who want to pick up new things, or for those who want to refresh their understanding.

I can still remember the time when I was trying to pick up these things and I was not able to find really good articles that cover all the basic, everything was pretty much too brief. That is why this article will try to cover pretty much all the basic things that you need to know to get you started and take off from there.

We will…


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).

Installation

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.


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

Introduction

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.

Django REST API

First, let’s create a folder for our project and then let’s create…


Image for post
Image for post
Coding

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…


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.

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…


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.

flower
flower

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…


Image for post
Image for post
Photo by AltumCode on Unsplash

CODEX

Introduction

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…


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.

Introduction

A database connection is a big part in any web development. Often time, many new developers will find themselves putting their database credentials…


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
php

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,

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