EduardoSchiavo / MockFlaskApp

A Basic Flask App skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mock Flask App

A Super simple web app skeleton built with python3 and Flask (and Bootstrap for the stylesheet and navbar)

This can be used a starting point to build and actual application.

A single feature is implemented and the app is using a single file, no blueprints, no static.

homepage

The webapp just let's you enter your name and displays a welcome message.

welcome message

Features

The App only hase three routes to handle HTTP requests.

The home page has a button that takes you to a mock login feature that will have you enter your name and display a welcome message.

That's it.

Templates

All the templates inherit from base.html, for which I've taken bits and pieces from Bootstrap

How to run

Dependencies

Flask is the only thing that is needed. So you can just:

pip3 isntall Flask

Run the App

clone the repo

git clone https://github.com/EduardoSchiavo/BasicFlask.git

run the App

python3 app.py

navigate to http://127.0.0.1:5000/ on your browser and enjoy!

About

A Basic Flask App skeleton


Languages

Language:HTML 74.8%Language:Python 25.2%