Udemybeginneren

Creating an API server in Rust with Rocket, SeaORM and JWT

Learn to build robust REST APIs with Rust & Rocket! Master SeaORM & JWT for secure, high-performance server development.

4.5(40)
380students
1h 49m
Certificate
Afaan Bilal
Afaan BilalSenior Software Development Engineer

Course Content

Creating an API server in Rust with Rocket, SeaORM and JWT is a beginner-level Udemy course taught by Afaan Bilal. It runs 1h 49m, is taught in English, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 40 reviews, with 380 students enrolled. It is a paid course, last updated May 2023.

Build a powerful REST API with Rust! This comprehensive course guides you through creating a fully functional bookstore API server. You'll gain hands-on experience designing and implementing a system for managing books and authors.

Here's what you'll be able to do:

  • Manage Authors: Create, list, update, and delete author records.
  • Manage Books: Create, list, update, and delete book records.
  • Relationship Management: Associate and disassociate books with their respective authors.
  • Author-Specific Book Lists: Easily list all books written by a particular author.

Key Concepts You'll Master:

  • Rust Fundamentals: Learn to create a new Rust project using Cargo, build and run your application, and manage dependencies with crates and features.
  • API Design: Understand core API concepts including routing, HTTP methods (GET, POST, PUT, DELETE), and extracting data from requests.
  • Database Interaction: Learn to interact with a database to query and insert data, enabling efficient data management.
  • Authentication: Implement secure user authentication using JWT (JSON Web Tokens).
  • Data Modeling: Create and utilize relationships between data models to effectively query and list associated data.
  • Data Handling: Handle incoming and outgoing data in a type-safe manner.
  • CORS Configuration: Configure CORS (Cross-Origin Resource Sharing) for secure API access.
  • Database Migrations: Create and run database migrations to manage schema changes.
  • Database Relationships: Create one-to-many database relationships for robust data modeling.
  • Entity Mapping: Create entities from database tables for simplified data access.

Technology Stack:

We'll leverage these powerful Rust crates:

  • Rocket: A leading web framework for Rust, known for its speed, security, flexibility, and type safety.
  • SeaORM: A robust relational ORM that simplifies database interactions in Rust.
  • jsonwebtoken: A library for creating and decoding JWTs in a strongly typed way.
  • serde_json: Efficiently serialize and deserialize Rust data structures using JSON.

Bonus:

Deploy your API anywhere with our bonus lecture on Dockerizing your Rust server! Learn how to containerize your application for easy deployment and scalability.

This course is perfect for developers looking to build robust and scalable REST APIs with Rust and gain practical experience with modern web development technologies.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0
2h 49m
intermediate
pluralsight
5.0(196)
51m
beginner
skillshare
5.0
2h 45m
intermediate
pluralsight
skillshare
5.0(461)
1h 13m
all
skillshare