In this tutorial, we will build a CRUD API for a feedback application. This project will help you get started with API development in Rust or enhance your skills as a Rust developer.
- Run the API on Your Machine
- Set Up the Rust API Project
- Set Up a Database with Docker
- Connect the Rust App to the Running Database
- Create and Push the Database Migrations
- Create the SQLX Database Model
- Create the Data Schema
- Create the CRUD API Handlers
- Fetch All Records
- Create a Record
- Fetch a Record
- Edit a Record
- Delete a Record
- Complete API Handlers
- Create the API Routes
- Set Up CORS and Register the API Routes
- Conclusion
Read the entire article here: https://codevoweb.com/build-a-crud-api-http-server-in-rust/