• Post category:StudyBullet-3
  • Reading time:11 mins read


Build Web Applications with databases (SQLite & PostgreSQL) and deploy to the cloud

What you will learn

Build Web Applications with Django

Build Web Applications with Flask

Create virtual environments with Python

Create remote repository on Github

Use Git to push your code to remote repository

Deploy your web apps to the cloud

Description

What is Python?

Python is a popular programming language.

It is used for:

  • web development (server-side),
  • software development,
  • mathematics,
  • system scripting.

What can Python do?

  • Python can be used on a server to create web applications.
  • Python can be used alongside software to create workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python can be used to handle big data and perform complex mathematics.
  • Python can be used for rapid prototyping, or for production-ready software development.

Why Python?

  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a simple syntax similar to the English language.
  • Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
  • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
  • Python can be treated in a procedural way, an object-oriented way or a functional way.

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Ridiculously fast: Django was designed to help developers take applications from concept to completion as quickly as possible.


Get Instant Notification of New Courses on our Telegram channel.


Reassuringly secure: Django takes security seriously and helps developers avoid many common security mistakes.

Exceedingly scalable: Some of the busiest sites on the web leverage Django’s ability to quickly and flexibly scale.

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself. Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools.

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

GitHub is a Git repository hosting service, but it adds many of its own features

English
language

Content

Python Setup
Introduction
What is Python
Installing Python on Windows
Installing Python on Macs
Installing Python on Linux(Ubuntu)
Create a virtual environment on Windows
Activate a virtual environment on Windows
Create a virtual environment on Macs
Activate a virtual environment on Macs
Please Read: Note on Text Editors
Install Text Editor – Visual studio code
Install Text Editor – Atom
Django Setup
What is Django
Update Pip
Install Django
Create a superuser account
Django Apps Vs Django Projects
Build an Image Upload Application
What we will create
Create a new Django Project
Starting Django development Server
Creating a Django App
Installing Pillow
Creating a Model
Interacting with Models
Defining URL Routes
Creating Views
Django Templates
Populating Templates
Running your app
Project Code
Build a TodoList Application
What we will create
Create a project directory
Create and activate a new virtual environment
Install Django
Create a new Django Project
Anatomy of a Django Project
Starting Django Server
Migrations
Installing Django App
Anatomy of Django App
The project design
Django admin and superuser
Templates
Views
URLS
Static Files
Django Models
Create Models
Migrating Models
Add model to admin site
Version Control
What is GIT
Installing Git
Git Configuration
Git Architecture
Git Workflow
Github
Create Github Account
Create Personal access token
Initialising Git Repository
Excluding files from version control
Adding files to version control
Committing code to version control
Creating a remote repository on GitHub
Pushing project code to GitHub
Displaying data from database
Set background color for completed items
Committing code changes to GitHub
Adding a form
Getting form to capture data from text input
Adding form to template and view
Adding form input to database
Creating a view for completed items
Creating a view to delete all completed items
Creating view to remove all items from database
Pushing updates to version control
Deploying app to the cloud: Part 1
Deploying app to the cloud: Part 2
Deploying app to the cloud: Part 3
Project Code
PostgreSQL Server Setup
What is PostgreSQL
Installing PostgreSQL on Windows
Installing PostgreSQL on Macs
Installing PostgreSQL on Linux(Ubuntu)
Installing PgAdmin on Macs
Installing PgAdmin on Linux(Ubuntu)
Connecting to PostgreSQL
Create a new database
Build a Quotes Application with Flask
What is Flask
What we will create
Static Bootstrap Files
Create and activate a virtual environment
Installing Flask
Setup Environment Variables
Creating a minimal Flask App
Creating Endpoints
Rendering Templates
Conditional statements
Iterating over a list
Project Templates
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 cloud using Heroku : Part 1
Deploying app to cloud using Heroku : Part 2
Project Code