Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Build API Servers with Rust and Actix

via Udemy

Overview

Learn to Build API Servers Using Actix Web and SqlX and Create a Twitter Api Clone

What you'll learn:
  • Understand how to build Web Api with Actix Web
  • Understand how to Query and Update databases with SqlX
  • Understand coding in Rust using design patterns and loosely coupled architecture
  • Use Docker within examples to gain practical knowledge on how to build modern services

  1. Get a conceptual understanding of Actix Web's architecture and learn about its many features and capabilities.

  2. Learn how to setup and initialize an Actix Web Server. Learn how to build Route Handlers that respond to requests. Create unique Extractors to receive parameters in a type safe way. Handle Errors that may occur during Route Handler processing.

  3. Understand how SqlX works and how to query databases. Use SqlX to connect to Postgres, through a Docker image, and do CRUD operations like select, insert, update, and delete. Learn how to perform transactions in SqlX and how to exit a transaction early if an error occurs. Also learn about SqlX's database migration capabilities, so that you can create and modify schema as data needs change.

  4. Learn how to structure an Api Server. Creating Separation of Concerns, Encapsulation, and loose coupling of code. This will enhance your ability to continue building on the original application.

  5. Gain practical understanding on the code base for a large and realistic Twitter Api clone. We will be diving deep into Actix Web Routing, Extractors, Responders, Error Handling, SqlX queries, and more.

  6. All Course projects are built using Docker images containing both the Actix Web Server and Postgres database as needed for the lessons.

Syllabus

  • Overview of Actix Web
  • Overview of Sqlx Crate
  • Let's Build Our App!

Taught by

David Choi

Reviews

4.4 rating at Udemy based on 61 ratings

Start your review of Build API Servers with Rust and Actix

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.