|
| 1 | +# Build a CRUD App with FastAPI and SQLAlchemy |
| 2 | + |
| 3 | +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. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## Topics Covered |
| 8 | + |
| 9 | +- Run the SQLAlchemy FastAPI App Locally |
| 10 | +- Run the Frontend App Locally |
| 11 | +- Setup FastAPI and Run the HTTP Server |
| 12 | +- Designing the CRUD API |
| 13 | +- Setup SQLAlchemy with SQLite |
| 14 | + - Connect to SQLite |
| 15 | + - Create Database Model with SQLAlchemy |
| 16 | +- Create Validation Schemas with Pydantic |
| 17 | +- Define the Path Operation Functions |
| 18 | + - Get All Records |
| 19 | + - Create a Record |
| 20 | + - Update a Record |
| 21 | + - Retrieve a Single Record |
| 22 | + - Delete a Single Record |
| 23 | +- Connect the API Router to the App |
| 24 | + |
| 25 | +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) |
| 26 | + |
0 commit comments