Part I: Micro-service Architecture

Before we dive into micro-architecture, I would want to go back to where we initially started. Initially, N-Tier architecture and monolithic apps were standard for any organization. Where in we had a single web artifact, that was decomposed into layers like the presentation layer, business logic layer and the data access layer. Each of these […]

Read More Part I: Micro-service Architecture

Part V: More on API’s with F1

So from the last post we have all our code in place for our F1 api, now we are looking  at the following:  Retrieving Status codes Filtering our query Status code What are status code? And why are they important? Status codes tell us whether a HTTP request was successful or not. So there are 5 […]

Read More Part V: More on API’s with F1

Part IV: Improvising code

The end goal of the F1 website is to have an angular front end served by our file but before going there I am really looking forward to optimizing this code. Lets begin with viewsets. Viewsets Viewsets are class based views, the method handlers of viewsets are bound to certain actions at the point […]

Read More Part IV: Improvising code

Part II: Creating Restful API’s

Imagine you own the formula1 website, this website has updates on when and where are the next  races, some live footage, you can even view historic data like 1950’s Fastest laps. You have been gathering this data from a long time and you decided why not strike it rich, you know there are many vendors […]

Read More Part II: Creating Restful API’s

Part I : RESTful API

In this post I will be covering: What is a Restful API Methods / verbs Implementing API calls API’s To explain API, i’ll use the Waiter analogy. Once you go to the restaurant and you are seated, the waiter comes to you with a Menu, Menu is a list of stuff you can order. So […]

Read More Part I : RESTful API