->
Oreilly - REST APIs with Flask and Python - 9781788621526
Oreilly - REST APIs with Flask and Python
by Jose Salvatierra | Publisher: Packt Publishing | Release Date: August 2017 | ISBN: 9781788621526


Build professional REST APIs with Python, Flask, Flask-RESTful, and Flask-SQLAlchemyAbout This VideoCreate resource-based, production-ready REST APIs using Flask and popular extensionsUsing SQLAlchemy to easily and efficiently store resources to a databaseUnderstand the complex intricacies of deployments and performance of REST APIsIn DetailAre you tired of boring, outdated, incomplete, or incorrect tutorials? I say no more to copy-pasting code that you don't understand. Welcome to one of the best resources online on creating REST APIs. I'm Jose, and I'm a software engineer; here to help you truly understand and develop your skills in web and REST API development with Python. Production-ready REST APIs. This course will guide you in creating simple, intermediate, and advanced REST APIs including authentication, deployments, caching, and much more. We'll start with a Python refresher that will take you from the very basics to some of the most advanced features of Python—for you to never be lost or confused. Using Flask and popular extensions Flask-RESTful, Flask-JWT, and Flask-SQLAlchemy we will dive right into developing complete, solid, production-ready REST APIs. We will also look into essential technologies Git, Heroku, nginx, and Varnish. I pride myself in providing excellent support and feedback to every single student. I am always available to guide you personally, and answer questions for your benefit.Don't wait, and sign up today to take another step toward web services mastery!I'll see you on the inside.Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/REST-APIs-with-Flask-and-Python. If you require support please email: [email protected]
  1. Chapter 1 : Welcome!
    • Welcome to the course 00:01:25
  2. Chapter 2 : A Full Python Refresher
    • Introduction to this section 00:01:05
    • Variables in Python 00:06:23
    • Solution to coding exercise: Variables 00:02:00
    • Methods in Python 00:13:00
    • Solution to coding exercise: Methods 00:03:33
    • Lists, tuples, and sets 00:07:52
    • List, tuple, and set operations 00:08:41
    • Advanced set operations 00:06:24
    • Solution to coding exercise: Lists, tuples, sets 00:04:40
    • Loops in Python 00:14:02
    • If statements 00:07:37
    • Solution to coding exercise: Flow control 00:05:26
    • A programming exercise for you 00:10:44
    • List comprehension 00:13:27
    • Dictionaries 00:07:04
    • Are dictionaries "things"? 00:04:30
    • Solution to coding exercise: Dictionaries 00:06:16
    • Objects in Python 00:11:08
    • A Student example 00:05:16
    • Solution to coding exercise: Classes and objects 00:05:05
    • @classmethod and @staticmethod 00:07:44
    • Solution to coding exercise: @classmethod and @staticmethod 00:05:54
    • Inheritance in Object-Oriented Programming 00:12:44
    • *args and **kwargs 00:11:20
    • Passing functions as arguments 00:09:08
    • Decorators in Python 00:06:52
    • Advanced decorators 00:08:18
    • Conclusion of this section 00:00:34
  3. Chapter 3 : Your first REST API
    • Introduction to this section 00:01:03
    • Installing Flask 00:01:59
    • Your first Flask application 00:09:55
    • HTTP Verbs 00:10:03
    • REST Principles 00:07:42
    • Creating our application endpoints 00:08:26
    • Returning a list of stores 00:07:01
    • Implementing other endpoints 00:08:49
    • Calling the API from JavaScript 00:06:40
    • Using Postman for API testing 00:12:08
    • Conclusion of this section 00:00:51
  4. Chapter 4 : Flask-RESTful for more efficient development
    • Welcome to this section 00:00:30
    • Virtualenvs and setting up Flask-RESTful 00:08:05
    • Your first Flask-RESTful app 00:10:39
    • Test-first API design—what is that? 00:10:49
    • Creating our Item Resource 00:10:33
    • The ItemList and creating Items 00:07:16
    • Improving code and error control 00:07:16
    • Authentication and logging in—part 1 00:12:18
    • Authentication and logging in—part 2 00:07:18
    • DELETE to delete Items 00:04:34
    • PUT to create or update Items 00:04:27
    • Advanced request parsing with Flask-RESTful 00:06:16
    • Optimising our final code and request parsing 00:03:53
    • Conclusion of this section 00:00:38
  5. Chapter 5 : Storing resources in a SQL database
    • Welcome to this section 00:00:51
    • Setting up our project 00:03:36
    • Running a SQLite database and interacting with it from Python 00:13:16
    • Logging in and retrieving Users from a database 00:16:42
    • Signing up and writing Users to a database 00:13:32
    • Preventing duplicate usernames when signing users up 00:02:57
    • Retrieving our Item resources from a database 00:09:00
    • Writing our Item resources to a database 00:13:18
    • Deleting our Item resources from the database 00:04:02
    • Refactoring insertion of items 00:05:01
    • The PUT method with database interaction 00:05:00
    • Retrieving many items from the database 00:06:42
    • Conclusion of this section 00:00:32
  6. Chapter 6 : Simplifying storage with Flask-SQLAlchemy
    • Welcome to this section! 00:00:44
    • Setting up this section's project 00:06:09
    • Improving the project structure and maintainability 00:04:59
    • Creating User and Item models 00:23:05
    • Verifying the app works after our changes 00:05:19
    • Advanced Postman: environments and tests 00:11:17
    • Telling SQLAlchemy about our tables and columns 00:10:45
    • Implementing the ItemModel using SQLAlchemy 00:15:17
    • Implementing the UserModel using SQLAlchemy 00:09:42
    • Easily displaying the ItemList resource with SQLAlchemy 00:05:08
    • No more creating tables manually—telling SQLAlchemy to CREATE TABLE IF NOT EXISTSs 00:02:40
    • Creating a new model: StoreModel 00:12:33
    • Creating the Store Resource 00:09:46
    • Final testing of this section's API 00:05:59
    • Conclusion of this section 00:00:57
  7. Chapter 7 : Git—version control
    • Welcome to this section 00:01:33
    • Installing Git on Mac and Windows 00:04:12
    • What is a Git repository? 00:05:28
    • The Git workflow—part 1 00:04:31
    • The Git workflow—part 2, including GitHub 00:05:18
    • Using SSH keys for security 00:06:53
    • The README file 00:05:26
    • Conclusion of this section 00:00:38
  8. Chapter 8 : Deploying Flask apps to Heroku
    • Welcome to this section 00:01:01
    • What is Heroku? 00:06:33
    • Getting our code into GitHub 00:07:48
    • Setting up Heroku for Flask 00:04:29
    • Adding the required files to the project 00:10:50
    • Logs in Heroku and troubleshooting errors 00:09:01
    • Testing the deployed API with Postman 00:03:56
    • Adding PostgreSQL to our Heroku app 00:09:20
    • Working with Git and automatic deploys 00:06:31
    • Conclusion of this section 00:00:49
  9. Chapter 9 : Deploying Flask apps to our own server
    • Welcome to this section 00:00:37
    • Setting up a DigitalOcean server 00:11:58
    • Installing PostgreSQL in Ubuntu 16.04 00:08:09
    • Creating a UNIX user in Ubuntu 16.04 00:07:45
    • Setting up our new user with PostgreSQL permissions 00:09:06
    • Setting up nginx and our REST API 00:19:35
    • Setting up uWSGI to run our REST API 00:24:04
    • Testing our API to make sure everything works 00:07:21
    • Conclusion of this section 00:01:22
  10. Chapter 10 : Security in your REST APIs
    • Getting our domain name 00:06:14
    • Setting up Cloudflare 00:08:26
    • What is DNS? 00:05:04
    • Setting our DNS records 00:07:38
    • Verifying everything works—this is important! 00:01:27
    • Creating our SSL certificate in Cloudflare 00:02:42
    • Configuring nginx for SSL 00:12:00
  11. Oreilly - REST APIs with Flask and Python

    9781788621526.REST.APIs.with.Flask.and.Python.part1.OR.rar

    9781788621526.REST.APIs.with.Flask.and.Python.part2.OR.rar

    9781788621526.REST.APIs.with.Flask.and.Python.part3.OR.rar


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss