• Post category:StudyBullet-4
  • Reading time:6 mins read


Build a web based application from scratch with a database and deploy to the internet

What you will learn

Build a web application with a database backend

Deploy web application to the internet via heroku

Create database and table with PostgreSQL

Setup Flask development environment

Create endpoints for a web application

Render Templates

Use conditional statements


Get Instant Notification of New Courses on our Telegram channel.


Use for loop to iterate over a list

Create routes for web app

Description

Python is a popular  and general purpose programming language that can be used for a variety of things like:

  • Web Development
  • Scientific Computing / Data Science
  • Machine Learning
  • Start-ups
  • FinTech and the Financial Industry
  • Software development
  • Mathematics
  • System scripting
  • Connecting to databases

Flask is a small and lightweight Python web framework that provides useful tools and features that make creating web applications in Python easier. It gives developers flexibility and is a more accessible framework for new developers since you can build a web application quickly using only a single Python file. Flask is also extensible and doesn’t force a particular directory structure or require complicated boilerplate code before getting started.

PostgreSQL is a powerful, open source object-relational database system . PostgreSQL allows to create databases and store data . It also allows you to interact with the data inside the database.

In this course we will create a web based application using Python and Flask and we will create and store objects inside a PostgreSQL  database that will interact with our web application’s front end. We will also deploy the web application to the internet via heroku

English
language

Content

Introduction & Python Setup

Introduction
What is Python
What is Flask
What is PostgreSQL
Installing Python on Windows
Installing Python on Macs
Installing Atom Text Editor

Create a web application

What we will create
Creating and activating a virtual environment
Installing Flask
Setup Environment Variables
Creating a minimal Flask Application
Creating Endpoints
Rendering Templates
Using Conditional Statements
Iterating over a List
Project Templates
Installing PostgreSQL on Windows
Installing PostgreSQL on Mac
Creating a new database in PostgreSQL
Creating a route to process form data
Database Integration
Database Configuration
Creating a table
Installing Gunicorn Server
Storing form data inside database
Testing application
Deploying app to Heroku: Part 1
Deploying app to Heroku: Part 2