Getting Started with Flask (Firstly What is Backend Server)

Flask is a Mini Backend Server that can help you write server side code in Python

Krishna Kotni
2 min readAug 23, 2021
Masked Code image with Python and Flask logo
Photo by Cloudiary

What is a Backend Server?

A website involves two things, Client side code and Server Side code. Client side code is something that is reached to users browser and is rendered over there, Server Side code is something that is running on a server which helps the client side code to make api calls, communicate information and many more. It is safe to do important things from your server than in clients computer right.

What is Flask?

Flask is simply a library that helps write server side code in python. There are many options Java(Spring bot), Python (Flask and Django), Javascript (NodeJs), Postgress.

Installation

$pip install flask
  • Pip is a packet manager that comes with Python.
Embedded Code from Carbon

Render HTML file

Create this file structure to render HTML, CSS and JavaScript.

Flask FileStructure
Flask file Structure

To render a html file 🏗

Embedded Code from Carbon

To get a string from link

Embedded Code from Carbon

Check Out My Other Blogs: reach-the-sky.github.io📕

References: Pythonise Episodes: 30

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response