Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wpcodevo/fullstack-rust-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

Build a Full Stack App with Rust, Yew.rs and Actix Web

In this article, I'll walk you through the process of building a backend API using the Actix web framework, SQLX, PostgreSQL, and Docker. Once we've created a powerful backend, we'll move on to building a single-page app using the Yew.rs framework. By the end of this tutorial, you'll have a fully functional web app that seamlessly integrates the frontend app with the backend API.

Build a Full Stack App with Rust, Yew.rs and Actix Web

Topics Covered

  • Run the Full-Stack Rust App Locally
  • Setup the Full-Stack Rust App
  • Work on the Library Project
  • Work on the Backend Project
    • Setup the Rust API Project
    • Setup PostgreSQL and pgAdmin with Docker
    • Database Migration with SQLX
    • Create the SQLX Database Model
    • Create the Request Validation Structs
    • Create the CRUD API Route Handlers
    • Register the API Routes and Setup CORS
  • Work on the Frontend Project
    • Setup the Yew.rs Project
    • Setup Tailwind CSS for Styling
    • Create the API Request Functions
    • State Management with Yewdux
    • Create Reusable Components
    • Yew Component to Add New Feedback Item
    • Yew Component to Display Feedback Statistics
    • Yew Component to Display Feedback Information
    • Yew Component to Display the Feedback Items
    • Export the Component Files as Modules
    • Add the Components to the Main File
  • Test the Rust Full-Stack App

Read the entire article here: https://codevoweb.com/build-full-stack-app-with-rust-yew-and-actix-web/

About

In this article, I'll walk you through the process of building a backend API using the Actix web framework, SQLX, PostgreSQL, and Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /