Creating an API server in Rust with Rocket, SeaORM and JWT
Creating an API server in Rust with Rocket, SeaORM and JWT, available at $69.99, has an average rating of 4.35, with 43 lectures, 1 quizzes, based on 28 reviews, and has 272 subscribers.
You will learn about Create a Rust project Create a REST API server using Rocket Interacting with a database using SeaORM Authenticating APIs using JWT Writing database migrations using SeaORM CLI This course is ideal for individuals who are Programmers curios about creating REST API servers and other projects using Rust or Beginner Rust developers looking to use the Rocket web framework or Beginner Rust developers looking to use SeaORM for database interactions or Beginner Rust developers curios about JWT authentication It is particularly useful for Programmers curios about creating REST API servers and other projects using Rust or Beginner Rust developers looking to use the Rocket web framework or Beginner Rust developers looking to use SeaORM for database interactions or Beginner Rust developers curios about JWT authentication.
Enroll now: Creating an API server in Rust with Rocket, SeaORM and JWT
Summary
Title: Creating an API server in Rust with Rocket, SeaORM and JWT
Price: $69.99
Average Rating: 4.35
Number of Lectures: 43
Number of Quizzes: 1
Number of Published Lectures: 43
Number of Published Quizzes: 1
Number of Curriculum Items: 44
Number of Published Curriculum Objects: 44
Original Price: $22.99
Quality Status: approved
Status: Live
What You Will Learn
- Create a Rust project
- Create a REST API server using Rocket
- Interacting with a database using SeaORM
- Authenticating APIs using JWT
- Writing database migrations using SeaORM CLI
Who Should Attend
- Programmers curios about creating REST API servers and other projects using Rust
- Beginner Rust developers looking to use the Rocket web framework
- Beginner Rust developers looking to use SeaORM for database interactions
- Beginner Rust developers curios about JWT authentication
Target Audiences
- Programmers curios about creating REST API servers and other projects using Rust
- Beginner Rust developers looking to use the Rocket web framework
- Beginner Rust developers looking to use SeaORM for database interactions
- Beginner Rust developers curios about JWT authentication
In this course, we’ll create a REST API server in Rust to represent a bookstore. This bookstore would allow us to add books and authors.
Using this system, we’ll be able to:
-
Create, list, update and delete authors
-
Create, list, update and delete books
-
Associate and disassociate books and authors
-
List all books by a particular author
We’ll learn how to:
-
Create a new Rust project using cargo
-
Build and run our Rust project
-
Add crates and enable crate features
We’ll learn about basic API concepts such:
-
Routing and HTTP methods
-
Extracting data from HTTP requests
-
Interacting with the database to query and insert data
-
Creating user accounts
-
Authentication using JWT
-
Creating and using relationships between models to query and list associated data
Along with these concepts, we’ll learn how to:
-
Handle incoming (request) and outgoing (response) data in a type safe way
-
Handle CORS
-
Create and run database migrations
-
Create one-to-many database relationships
-
Create entities from database tables
We’ll have a bonus lecture at the end to learn how to Dockerize our API server to deploy and run it anywhere.
We’ll be using the following crates:
-
Rocket:a web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety.
-
SeaORM:is a relational ORM to help you build web services in Rust.
-
jsonwebtokento create and decode JWTs in a strongly typed way.
-
serde_jsonfor serializing and deserializing Rust data structures efficiently and generically.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction
Lecture 2: Creating a Rust project
Lecture 3: Understanding directory structure
Lecture 4: Basic Requirements and Resources
Lecture 5: GitHub Repository
Chapter 2: Rocket: The web framework
Lecture 1: Adding Rocket
Lecture 2: Rocket Hello World Explanation
Lecture 3: GitHub Repository
Chapter 3: SeaORM: Interacting with the database
Lecture 1: Adding SeaORM
Lecture 2: Designing the database structure
Lecture 3: Setting up migrations
Lecture 4: Writing database migrations
Lecture 5: Connecting to the database and running migrations
Lecture 6: Generating SeaORM entities
Lecture 7: GitHub Repository
Chapter 4: REST API
Lecture 1: Designing the REST API
Lecture 2: Creating a Postman collection
Chapter 5: Working with Rocket
Lecture 1: Rocket: Response, Routing and Controllers
Lecture 2: Rocket Fairings: CORS
Lecture 3: Rocket Managed State: Database
Lecture 4: Rocket: Request and Response Data – Sign in
Lecture 5: Rocket: Request and Response Data – Sign Up
Lecture 6: GitHub Repository
Chapter 6: Authentication and Sign Up
Lecture 1: Authentication Flow
Lecture 2: Implementing Sign Up
Lecture 3: Implementing Sign In
Lecture 4: Rocket Request Guards
Lecture 5: GitHub Repository
Chapter 7: Implementing Controllers
Lecture 1: Postman collection setup
Lecture 2: JSON Responses
Lecture 3: Books: List
Lecture 4: Authors: List
Lecture 5: Creating Authors
Lecture 6: Creating Books
Lecture 7: Show one Book and one Author
Lecture 8: Updating Books and Authors
Lecture 9: Deleting Books and Authors
Lecture 10: List Books by an Author
Lecture 11: Implementing From trait
Lecture 12: GitHub Repository
Chapter 8: Conclusion
Lecture 1: Dockerize – Creating a Docker image
Lecture 2: GitHub Repository
Lecture 3: Conclusion
Instructors
-
Afaan Bilal
Senior Software Development Engineer
Rating Distribution
- 1 stars: 0 votes
- 2 stars: 0 votes
- 3 stars: 4 votes
- 4 stars: 9 votes
- 5 stars: 15 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Digital Marketing Foundation Course
- Google Shopping Ads Digital Marketing Course
- Multi Cloud Infrastructure for beginners
- Master Lead Generation: Grow Subscribers & Sales with Popups
- Complete Copywriting System : write to sell with ease
- Product Positioning Masterclass: Unlock Market Traction
- How to Promote Your Webinar and Get More Attendees?
- Digital Marketing Courses
- Create music with Artificial Intelligence in this new market
- Create CONVERTING UGC Content So Brands Will Pay You More
- Podcast: The top 8 ways to monetize by Podcasting
- TikTok Marketing Mastery: Learn to Grow & Go Viral
- Free Digital Marketing Basics Course in Hindi
- MailChimp Free Mailing Lists: MailChimp Email Marketing
- Automate Digital Marketing & Social Media with Generative AI
- Google Ads MasterClass – All Advanced Features
- Online Course Creator: Create & Sell Online Courses Today!
- Introduction to SEO – Basic Principles of SEO
- Affiliate Marketing For Beginners: Go From Novice To Pro
- Effective Website Planning Made Simple