Building a REST API in Django is super easy. In this tutorial, we’ll walk through the steps to create your first API.

logo of django rest framework
logo of django rest framework

Why use REST API?

Before we start the fun stuff, its good knowing why should you create an API.

A rest api is a way to provide data to other applications from our application. Those other applications can use it in anyway they want. Frequently, apis also give the application access to change the data too.

There are a few key options for a REST API request:

> GET →The most common rest api request , returns some data from the API…


Recently these days, I have been learning socket programming, so to finish learning the topic I thought of creating a python module which transfers files over network, because I was tired of creating chat applications using sockets, so I decided to name it pyserved because it looked cool and I couldn’t find a better name for it.

Story

This package has a simple story, I created it because I was bored and I had a lot of free time in my hand as my end of session holidays have just begun after the wrath of my final exams. So to throw…


image from pexels.com

So in this blog, we are going to do the classic linear regression exercise to predict house prices using income, age of house, number of bedrooms, area population etc.

Installation and setup

To install the csv file download it from kaggle here: https://www.kaggle.com/aariyan101/usa-housingcsv


Let’s end this debate between the two browsers

image from https://morioh.com/

Challengers:

Brave

Brave is a free and open-source web browser developed by Brave Software, Inc. based on the Chromium web browser. It blocks ads and website trackers, and provides a way for users to send cryptocurrency contributions in the form of Basic Attention Tokens to websites and content creators.

Chrome

Google Chrome is a cross-platform web browser developed by Google. It is by far the most popular browser in the world. It is known by everybody in the planet.

There will be some criterions like Speed, Privacy, Extension support etc. So lets get started.

Speed


Python

Python is one of the most popular programming languages in the planet. It has gained massive recognition in the web design, data science etc. communities. It has a very simple to learn syntax.


Let’s connect the best SQL server to the best python web framework.

Why PostgreSQL?

PostgreSQL comes with many features aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments, and help you manage your data no matter how big or small the dataset. In addition to being free and open source, PostgreSQL is highly extensible and it is also one of the most popular SQL databases in the internet.

Why Django?

Django is a high-level backend python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the…


Setting up the best SQL server in this planet in macOS

Why PostgreSQL?

PostgreSQL comes with many features aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments, and help you manage your data no matter how big or small the dataset. In addition to being free and open source, PostgreSQL is highly extensible and it is also one of the most popular SQL databases in the internet.

Who uses PostgreSQL?

Many companies like Apple, IMDB, Instagram, Reddit use PostgreSQL .

Installing PostgreSQL

We will be using postgres.app to install PostgreSQL in this tutorial so lets start!

1. Lets first open this link https://postgresapp.com/

Shaurya Pratap Singh

A middle schooler who loves to talk with computers in his free time and watch star wars. (https://sblip.dev)

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