Giter VIP home page Giter VIP logo

wpcodevo / rust-yew-signup-signin Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 1.0 33 KB

In this comprehensive guide, you will learn how to build a single-page frontend web application in Rust using the Yew.rs framework. The application will include essential authentication features such as user sign-up, login, logout, and restricting access to protected pages.

Home Page: https://codevoweb.com/frontend-app-with-rust-and-yew-user-signup-and-login/

Makefile 1.04% HTML 1.05% JavaScript 1.97% Rust 95.38% CSS 0.56%
frontend-app http-requests login-page signup-page web-app web-application webassembly yew yew-framework yew-router

rust-yew-signup-signin's Introduction

Frontend App with Rust and Yew.rs: User SignUp and Login

In this comprehensive guide, you will learn how to build a single-page frontend web application in Rust using the Yew.rs framework. The application will include essential authentication features such as user sign-up, login, logout, and restricting access to protected pages.

Frontend App with Rust and Yew.rs: User SignUp and Login

Topics Covered

  • Run the Yew.rs JWT Frontend App Locally
  • Run the Yew.rs Web App with a Rust API
  • Scaffold the Yew Project
  • Setup Tailwind CSS for Styling
  • Define the API Requests with the Reqwasm Crate
    • API Response Types
    • Create the API Requests
  • Setup a Global Store with the Yewdux Library
  • Create Reusable Yew Components
    • Create a Spinner Component
    • Create a Loading Button Component
    • Create a Notification Toast Component
    • Create a Form Input Component
    • Create a Header Component
  • Implement the Authentication Flow
    • Create the Account Registration Page
    • Create the Account Login Page
    • Add the Logout Functionality to the Header
  • Create the Remaining Yew Pages
    • Create the Home Page Component
    • Create the Profile Page Component
  • Setup Routes using the Yew Router Crate
  • Render the Yew Application in the Main File
  • Test the Yew Application in the Browser
    • Visit the Home Page
    • Register a New User
    • Login the User
    • Access the Protected Page

Read the entire article here: https://codevoweb.com/frontend-app-with-rust-and-yew-user-signup-and-login/

rust-yew-signup-signin's People

Contributors

wpcodevo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

balaji1359

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.