Skip to content

rachelAtFlatiron/Phase-4-062424

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Phase 4 - Flask

Phase Level Objectives

  • Build and run a Flask application
  • Create a REST API capable of interacting with a client
  • Specify requirements and structure of incoming and outgoing data
Lecture Videos Starter Solution
1. Intro To Flask Video Starter Solution
2. Intro To Flask-SQLAlchemy Video Starter Solution
3. Modeling Relationships Video Starter Solution
4. Flask Routes Video Starter Solution
5. Rest APIs with Flask Video Starter Solution
6. Exceptions and Validations Video Starter Solution
7. Client Server Communication Video Starter Solution
8. Authentication Video Starter Solution

1: Intro to Flask

SWBATs:

  • Understand how the Internet works
  • Understand how the request-response cycle works
  • Understand HTTP protocols
  • Intialize a Flask application
  • Use Flask routing and create views

2: Intro to Flask-SQLAlchemy

SWBATs:

  • Use Flask-SQLAlchemy as an ORM
  • Use Flask-Migrate to manage database schemas
  • Initialize a database with sample data
  • Implement a Flask application to query a database

3: Modeling Relationships

SWBATs:

  • Use Flask-SQLAlchemy to model a many-to-many relationship
  • Use Flask-SQLAlchemy to model a one-to-many relationship
  • Use SQLAlchemy-Serializer to prevent max recursion

4: Flask Routes

SWBATs:

  • Build an API to handle GET, POST, PATCH, and DELETE requests.

5: Rest APIs with Flask

SWBATs:

  • Build RESTful APIs that are easy to navigate and use in applications.

6: Exceptions and Validations

SWBATs:

  • Determine the significant differences between 100-500 HTTP status codes.
  • Determine best practices in error handling in Flask.
  • Define constraints and validations in data processing.
  • Restrict database input to specific formats using constraints.
  • Ensure that only acceptable input is sent to the database using validations.

7: Client Server Communication

SWBATs:

  • Use React and Flask together to build beautiful and powerful web applications.
  • Organize client and server code so that it is easy to understand and maintain.
  • Learn how to create and validate forms with Formik and Yup.

8: Authentication

SWBATs:

  • Explain what a cookie is and what cookies can be used for.
  • Configure a Flask API to use cookies.
  • Understand how websites use login to authenticate users.
  • Use the session object to authenticate a user.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published