---
###### tags: `Week 18` `W18D1`
---
# Week 18 Roadmap
---
### Technologies
- Today: Intro to Flask and Psycopg
- Tuesday: Flask routing, templating, and forms
- Wednesday: Interacting with a database via the SQLAlchemy ORM
- Thursday: Data migrations with Alembic
- Friday: review, practice assessment walkthrough, and Kahoot!
---
### Intro to Flask & Psycopg (Today)
- [Flask](https://flask.palletsprojects.com/)
- Web server (like Express, but for Python)
- [Psycopg2](https://www.psycopg.org/docs/index.html#)
- Database adapter for Python, allows Flask to communicate with Postgres database
---
### More about Flask (Tuesday)
- [Jinja](https://jinja.palletsprojects.com/en/2.11.x/)
- Templating language (like Pug)
- [WTForms](https://wtforms.readthedocs.io) & [Flask-WTF](https://flask-wtf.readthedocs.io)
- WTForms is a form validation library
- Flask-WTF integrates WTForms with Flask
---
### SQLAlchemy & Flask-SQLAlchemy (Wednesday)
- [SQLAlchemy](https://docs.sqlalchemy.org/en/14/index.html)
- Object-relational mapping tool (ORM) that makes it easier to interact with our database (like Sequelize)
- [Flask-SQLAlchemy](https://flask-sqlalchemy.palletsprojects.com)
- Integrates SQLAlchemy with Flask
---
### Alembic & Flask-Migrate (Thursday)
- [Alembic](https://alembic.sqlalchemy.org)
- Database migration tool that works with SQLAlchemy
- [Flask-Migrate](https://flask-migrate.readthedocs.io)
- Integrates Alembic with Flask
---
### Review day (Friday)
- Independent study time
- Practice assessment walkthrough
- Kahoot
---
### Today
- Lecture: Intro to Flask & Psycopg
- Behavioral Interview Exercise
- Reading: Presentation skills (20 min)
- Exercise: Interview practice (40 min)
- *Skip Instructor Led Project*
- EOD from Cesar around 4 PST!
{"metaMigratedAt":"2023-06-16T03:42:40.815Z","metaMigratedFrom":"Content","title":"Week 18 Roadmap","breaks":false,"contributors":"[{\"id\":\"a6f34c0b-3567-4ed5-ba81-c2299c2d9369\",\"add\":2589,\"del\":2991},{\"id\":\"b3d4b64b-bcb9-47ce-975c-f84011d6c2f4\",\"add\":2235,\"del\":0}]"}