You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this article, I'll provide you with a simple and straightforward guide on how you can build a CRUD app with FastAPI and SQLAlchemy. The FastAPI app will run on a Starlette web server, use Pydantic for data validation, and store data in an SQLite database.
20
21
@@ -29,16 +30,15 @@ In this article, I'll provide you with a simple and straightforward guide on how
29
30
- Setup SQLAlchemy with SQLite
30
31
- Setup SQLAlchemy with PostgreSQL
31
32
- Create Database Model with SQLAlchemy
32
-
- Database Model for SQLite Database
33
-
- Database Model for Postgres Database
33
+
- Database Model for SQLite Database
34
+
- Database Model for Postgres Database
34
35
- Create Validation Schemas with Pydantic
35
36
- Define the Path Operation Functions
36
-
- Get All Records
37
-
- Create a Record
38
-
- Update a Record
39
-
- Retrieve a Single Record
40
-
- Delete a Single Record
37
+
- Get All Records
38
+
- Create a Record
39
+
- Update a Record
40
+
- Retrieve a Single Record
41
+
- Delete a Single Record
41
42
- Connect the API Router to the App
42
43
43
44
Read the entire article here: [https://codevoweb.com/build-a-crud-app-with-fastapi-and-sqlalchemy](https://codevoweb.com/build-a-crud-app-with-fastapi-and-sqlalchemy)
0 commit comments