Skip to content

Commit b11c01d

Browse files
authored
Create README.md
1 parent c832953 commit b11c01d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Rust & Actix Web - Build a CRUD API with SQLX and MySQL
2+
3+
In this article, we will explore how to use Rust, Actix Web, SQLX, and MySQL to build a CRUD (Create, Read, Update, Delete) API. We will start by setting up a MySQL database, defining our data model, and creating the necessary database tables. Next, we will use SQLX to interact with the database and Actix Web to build the API endpoints.
4+
5+
![Rust & Actix Web - Build a CRUD API with SQLX and MySQL](https://codevoweb.com/wp-content/uploads/2023/03/Rust-and-Actix-Web-Build-a-CRUD-API-with-SQLX-and-MySQL.webp)
6+
7+
## Topics Covered
8+
9+
- Run the Actix-Web MySQL CRUD API Project
10+
- Run the Actix-Web API with a Frontend App
11+
- Setup the Rust Project with Cargo
12+
- Setup MySQL with Docker
13+
- Run Database Migrations with SQLX
14+
- Create the SQLX Database Model
15+
- Create the Request Validation Structs
16+
- Implement the CRUD Functionalities
17+
- Actix-Web Route Handler to Fetch All Records
18+
- Actix-Web Route Handler to Create a Record
19+
- Actix-Web Route Handler to Get a Record
20+
- Actix-Web Route Handler to Edit a Record
21+
- Actix-Web Route Handler to Delete a Record
22+
- Merge the Route Functions
23+
- Register the Routes and Add CORS
24+
- Test the Actix-Web MySQL CRUD API
25+
- Perform the CREATE Operation of CRUD
26+
- Perform the UPDATE Operation of CRUD
27+
- Perform the READ Operation of CRUD
28+
- Perform the DELETE Operation of CRUD
29+
30+
Read the entire article here: [https://codevoweb.com/rust-actix-web-build-crud-api-with-sqlx-and-mysql/](https://codevoweb.com/rust-actix-web-build-crud-api-with-sqlx-and-mysql/)
31+

0 commit comments

Comments
 (0)