|
1 | 1 | # RESTful API with Python, FastAPI, Pydantic, SQLAlchemy and Docker
|
2 | 2 |
|
3 | | -### 1. RESTful API with Python & FastAPI: Access and Refresh Tokens |
| 3 | +## 1. RESTful API with Python,SQLAlchemy, & FastAPI: Access and Refresh Tokens |
4 | 4 |
|
5 | | -[RESTful API with Python & FastAPI: Access and Refresh Tokens](https://codevoweb.com/restful-api-with-python-fastapi-access-and-refresh-tokens) |
| 5 | +In this article, you'll learn how to secure a FastAPI app by implementing access and refresh token functionalities using JSON Web Tokens (JWTs). We'll use the FastAPI JWT Auth package to sign, encode and decode the accessandrefresh JWT tokens. |
6 | 6 |
|
7 | | -### 2. RESTful API with Python & FastAPI: Send HTML Emails |
| 7 | + |
8 | 8 |
|
9 | | -[RESTful API with Python & FastAPI: Send HTML Emails](https://codevoweb.com/restful-api-with-python-fastapi-send-html-emails) |
| 9 | +### Topics Covered |
10 | 10 |
|
11 | | -### 3. CRUD RESTful API Server with Python, FastAPI, and PostgreSQL |
| 11 | +- Python FastAPI JWT Authentication Overview |
| 12 | +- How to Setup FastAPI with PostgreSQL |
| 13 | + - Setup FastAPI |
| 14 | + - Initialize a Simple FastAPI Server |
| 15 | +- Setting up Environment Variables in FastAPI |
| 16 | +- Connect to the PostgreSQL Docker Container |
| 17 | +- Installing the UUID OSSP PostgreSQL Extension |
| 18 | +- Create Database Models with SQLAlchemy in FastAPI |
| 19 | +- Creating Schemas with Pydantic in FastAPI |
| 20 | +- Password Management with Bcrypt |
| 21 | +- Configure the FastAPI JWT Auth Extension |
| 22 | +- Creating the Authentication Controllers |
| 23 | + - User Registration Controller |
| 24 | + - User Sign-in Controller |
| 25 | + - Refresh Access Token Controller |
| 26 | + - Logout User Controller |
| 27 | +- How to add Protected Routes |
| 28 | +- Create a User Controller |
| 29 | +- Adding the Routes to FastAPI Middleware Pipeline |
| 30 | +- Database Migration with Alembic |
| 31 | +- Testing the FastAPI JSON Web Token API |
| 32 | + |
| 33 | +Read the entire article here: [https://codevoweb.com/restful-api-with-python-fastapi-access-and-refresh-tokens](https://codevoweb.com/restful-api-with-python-fastapi-access-and-refresh-tokens) |
| 34 | + |
| 35 | +## 2. RESTful API with Python, SQLAlchemy, & FastAPI: Send HTML Emails |
| 36 | + |
| 37 | +In this article, you'll learn how to send HTML emails with Python, FastAPI, SQLAlchemy, PostgreSQL, Jinja2, and Docker-compose. Also, you'll learn how to dynamically generate HTML templates with the Jinja2 package. |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | +### Topics Covered |
| 42 | + |
| 43 | +- Send HTML Email with jinja2 and FastAPI Overview |
| 44 | +- Creating an SMTP Provider Account |
| 45 | +- Validating the Environment Variables with Pydantic |
| 46 | +- Create a Database Model with Sqlalchemy |
| 47 | +- Creating the HTML Email Templates with Jinja2 |
| 48 | +- Set up SMTP Email Sender |
| 49 | +- How to Send the HTML Email |
| 50 | +- Update the SignUp Path Operation Function |
| 51 | +- Create a Controller to Verify the Code |
| 52 | + |
| 53 | +Read the entire article here: [https://codevoweb.com/restful-api-with-python-fastapi-send-html-emails](https://codevoweb.com/restful-api-with-python-fastapi-send-html-emails) |
| 54 | + |
| 55 | +## 3. CRUD RESTful API Server with Python, SQLAlchemy, FastAPI, and PostgreSQL |
| 56 | + |
| 57 | +This article will teach you how to create a CRUD RESTful API with Python, FastAPI, SQLAlchemy ORM, Pydantic, Alembic, PostgreSQL, and Docker-compose to perform the basic Create/Read/Update/Delete operations against a database. |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +### Topics Covered |
| 62 | + |
| 63 | +- Python, FastAPI, PostgreSQL, SQLAlchemy CRUD API Overview |
| 64 | +- Setting up FastAPI and PostgreSQL |
| 65 | + - Building the FastAPI Server |
| 66 | + - Starting the FastAPI Server |
| 67 | +- Setting up Environment Variables in FastAPI |
| 68 | +- Connecting to the PostgreSQL Server |
| 69 | +- Installing the UUID OSSP PostgreSQL Plugin |
| 70 | +- How to Create Database Models with SQLAlchemy |
| 71 | +- Creating Validation Schemas with Pydantic |
| 72 | +- Creating the FastAPI Route Handlers |
| 73 | + - Fetch All Posts Handler |
| 74 | + - Create New Post Handler |
| 75 | + - Update Post Handler |
| 76 | + - Get a Single Post Handler |
| 77 | + - Remove Post Handler |
| 78 | +- Add the Routes to the FastAPI Middleware Stack |
| 79 | + |
| 80 | +Read the entire article here: [https://codevoweb.com/crud-restful-api-server-with-python-fastapi-and-postgresql](https://codevoweb.com/crud-restful-api-server-with-python-fastapi-and-postgresql) |
12 | 81 |
|
13 | | -[CRUD RESTful API Server with Python, FastAPI, and PostgreSQL](https://codevoweb.com/crud-restful-api-server-with-python-fastapi-and-postgresql) |
|
0 commit comments