My First Ever Flask App
I have been using Flask for my previous project but there I used AI for making my project, but now I am going to make my first Flask App by myself.
BLOG
Abhinav
8/18/20251 min read
Recently I have been working on my college's final year project, I chose "AI Research" as my project topic because I am developing in python since 2019, So it is a sweet spot for me to code. But till now I have only made CLI applications using Python and for User Interface Application I used to use HTML, CSS, JS.
So, For this project I decided to merge my python expertise with a robust application which can result in a industry level Flask Application. If you are also a new comer to use Flask you can join me in my journey. We will start with downloading requirements and then will move toward writing our first Flask Application.
Requirements
Download Python: https://www.python.org/downloads/
Install Flask using Command in Terminal: pip install flask
First Flask Application
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
This Flask Application is nothing more than just printing hello world on web. I will let you know whenever I learn new thing related to flask. This is it for now, but I will still continue our learning. Thank you for reading this blog.