Complete Python Web Course: Build 8 Python Web Applications
Video description
Learn how to design, develop, and deploy engaging web applications using Python
About This Video
Learn Python programming and Flask framework
Develop applications in Python that use MongoDB database
Understand how the Internet works, and how data is exchanged between the server and the application
In Detail
Do you know what is common between Netflix, Instagram, Spotify, Dropbox, and Uber? All these applications are made …
Complete Python Web Course: Build 8 Python Web Applications
Video description
Learn how to design, develop, and deploy engaging web applications using Python
About This Video
Learn Python programming and Flask framework
Develop applications in Python that use MongoDB database
Understand how the Internet works, and how data is exchanged between the server and the application
In Detail
Do you know what is common between Netflix, Instagram, Spotify, Dropbox, and Uber? All these applications are made in Python. There is no doubt that Python is one of the most popular programming languages in the modern technological world. This course will teach you Python and web development skills that will help you to build real-time applications.
The course begins with an introduction to Python fundamentals, and teaches you how to install Python 3.4.3 on your machine. Moving ahead, you will understand how the internet works, find out how Python retrieves data, and get an overview of the MongoDB database. Next, you will apply what you have learnt, and use Flask to create your first web application, a simple blog where users can register and publish posts. Then, you will step up your game and create a web application in Python to receive notifications when prices of items in online stores go down. Towards the end, you will deploy your application to Heroku by integrating GitHub, and also learn how to manually deploy on a server using Ubuntu.
By the end of this course, you will develop essential Python skills needed to build robust web applications.
Who this book is for
If you are a software developer who is interested to build web applications in Python, then this course is for you. Basic knowledge of Python will be beneficial to effectively understand the concepts covered in the course.
Coding Exercise and Solution - Print(), Str(), and Int()
The Format() Method
Coding Exercise and Solution - Format()
Getting User Input with the Input() Method
Coding Exercise and Solution - User Input
Creating Your Own Methods in Python
Coding Exercise and Solution - Creating Functions
If Statements in Python
Coding Exercise and Solution - If Statements
Assignment Video
Chapter 2 : Price of a Chair
Our Development Environment
Creating Virtual Environments for Python Development
Our Age Application in PyCharm
(Aside) Tweaking PyCharm
Understanding JavaScript Object Notation (JSON) and Extensible Markup Language (XML)
Making our First Hyper Text Transfer Protocol (HTTP) GET Request
Finding our Chair Price Parsing Hyper Text Markup Language (HTML)
Parsing Hyper Text Markup Language (HTML) Data using BeautifulSoup
Using the Price as a Number
Chapter 3 : A Simple Terminal Blog
Installing MongoDB
Introduction to MongoDB
Creating a PyCharm Project that Uses MongoDB and PyMongo
Simplifying Lists in Python with List Comprehension
Introduction to Object-Oriented Programming
Creating the First Class - the Post
Creating a Database Class for Database Interactions
The Last Few Post Methods
Having Default Parameter Values in Python Methods
Understanding Dates in Python - The Datetime Module
Verifying that All the Post Methods Work
The Blog Class and @classmethods
Verifying that All the Blog Methods Work
Starting the Menu and User Interactions
Finalising the Menu Class
Finally, Running the Application!
Chapter 4 : Our First Web Application
Introduction to REST APIs
How Can You Make Your Own API? What is Flask?
Python Cls() and Argument Unpacking
Creating the User Model for Your Application
Starting to Develop the User Model
Creating the Login and Register
Finding Blogs by a Specific Author
Allowing Creation of Blogs and Posts
Creating Static Resources and Templates
Your First Template in Jinja2
Beginning Cascading Style Sheets (CSS) Styling of Pages
The User Login Page
The User Registration Page
Using Bootstrap for the First Time for Great Styling
How Can You Display a List of Blogs?
Displaying a List of Posts
The Jinja2 If Statement for Structure Control
Creating New Blogs (front-end)
Finalising the Application by Allowing to Create Posts
Chapter 5 : Price Alerts for Online Web Stores
Creating New Python Projects in PyCharm 2019
What are Flask Blueprints?
Creating Your New Application Structure
Getting Page Content with Requests
How to Find the Price on a Website?
Getting an Element’s Content with BeautifulSoup
Using RegEx to Get Specific Information From a String
Creating Your Item Model
Adding Type Hinting to Your Application
Starting Up MongoDB and Making Sure it Works
Preparing Your Item Model for Saving in MongoDB
Inserting Items into MongoDB
Retrieving Items from MongoDB
Notifying Users in a Simple Way when the Price is Reached
What is an Abstract Class in Python?
Making More Methods Generic
Finishing Up the Model Superclass
How to Force a Subclass to Have Properties of a Parent Class?
Type Hinting the Current Object Type in a Method Return
Creating Items Through the Web Interface
Styling Your Site Using Bootstrap 4
Creating the Item’s Blueprint
Creating a Page to Show All Items
Creating Alerts Through the Web Interface
Chapter 6 : Developing a Complete Front-End with Bootstrap 4
Introducing Stores to Your Application
Getting Rid of Items
Testing Your Application with Stores
Dataclasses in Python 3.7
Turning Your Models into Dataclasses
Giving Names to Alerts in Your Application
Saving the Last Item Price
Creating Stores Through the Web Interface
Editing Alert Properties
Linking the Alert Index to the Edit Page
Editing Stores
Deleting Alerts
Deleting Stores
Registering Users
Encrypting Passwords in Python with Passlib
Logging In
Viewing Only Your Own Alerts
What are Python Decorators?
Limiting Some Pages Only to Logged In Users
Adding a Navigation Bar Using Bootstrap
Limiting Actions to Administrators (Admins) Only
Signing Up with Mailgun
Sending E-Mail with Mailgun
Creating the Landing Page
Chapter 7 : Simple Development-Stage Deployments to Heroku
Signing Up for GitHub
Forking the GitHub Repository from the Last Section
How to Install Git on Windows?
How to Use the Windows Git Shell?
How to Install Git on Mac?
How to Install Git on Linux?
Cloning the Git Repository from GitHub onto Your Computer
File Status and Stages in Git
How to Generate a Secure Shell (SSH) Key for GitHub
Git Commands: Git Commit and Git Push
Git Command: Git Log to Check Previous Commits
Signing Up to Heroku
Installing the Heroku Toolbelt (Command-Line Interface)
Creating a New Heroku Application
Getting Values from Environment Variables in Python
Setting the Environment Variables in Heroku
Setting Up Heroku Required Files in Your Project so Heroku Knows What to Run
Committing and Pushing the New Files to GitHub
Adding Servers on Heroku (Called ‘Scaling EDynos’)
Deploying Your Application to Heroku
Adding MongoLab to Your Heroku Application as an Add-On
How to Create a New MongoLab User?
Changing Your Program’s Database URL to Match MongoLab’s
Using the Heroku Logs to Fix an Internal Server Error
Running Your Deployed Application in Heroku
Another Error: Using the URL Default Database
Verifying that the Application Works, and the Next Steps in the Course
Chapter 8 : Deploying your Applications Manually to a Server
Creating a DigitalOcean Droplet
Creating a Non-Root User
Configuring a New User
Installing MongoDB in Ubuntu
Getting Your Application Code
Configuring uWSGI and the System Service
Configuring NGINX
Creating a Cron Job in Ubuntu
Course Conclusion. Thank You!
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept