Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Web APIs in Rust

Web APIs in Rust

1h 16mIntermediate2024-12-20

Authors

Tim McNamara

Tim McNamara

Rust Software Architect and Author

Course details

Rust is an extremely powerful and often intimidating language, but it’s particularly well-suited for web services. In this course, instructor Tim McNamara shows you how to get started building and deploying web services written in Rust. Learn how to use the Actix Web framework to create a service that can receive a payload via an HTTP POST request, process it and return JSON. Along the way, you’ll also explore the essentials of stateful endpoints, monitoring and observability, telemetry, testing, deployment, and much more.

Learning objectives
Understand the considerations involved in creating a web service in Rust.
Create JSON from Rust data and send it as an HTTP response body.
Accept JSON as the request of a HTTP POST body, and convert it to a Rust response.
Add observability to a web service that's written in Rust.

Skills covered

RustAPIsProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Harness the power of Rust
  • 02 - What you should know
  • 03 - Using Codespaces with this course

1. About the Tech Stack

  • 04 - Why Rust for web services
  • 05 - Introduction to Actix Web

2. Stateless Endpoints

  • 06 - Creating a health check endpoint
  • 07 - Receiving a payload via HTTP POST
  • 08 - Receiving a payload encoded as JSON

3. Stateful Endpoints

  • 09 - Adding global state
  • 10 - Adding authentication
  • 11 - Connecting to a database

4. Monitoring and Observability

  • 12 - Testing the endpoints
  • 13 - Adding telemetry

5. Deployment

  • 14 - Local-first deployment
  • 15 - Cloud-native deployment

Conclusion

  • 16 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal