• Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Awesome full-stack template using Yew and Rust

Docker + Actix + Yew Full Stack Template

IMAGE ALT TEXT

👨‍💻 YouTube videos

  1. Full Stack Rust App Template using Yew + Actix! https://youtu.be/oCiGjrpGk4A
  2. Add Docker to your full stack Rust app Actix + Yew App https://youtu.be/YzjFk694bFM
  3. SERVER SIDE OAUTH with Actix Web, Yew and Rust (analyzing GRAMMARLY) https://youtu.be/Wl8oj3KYqxM
  4. I added a Database To Our YEW ACTIX Template To Store Users And OAuth Tokens. https://youtu.be/ENgMHIQk7T8

👉 Join our Discord Community

You can join our Discord Community, here is the invite link.

👨‍💻 Project Structure

Contains 3 sub-projects

  1. actix-api: actix web server
  2. yew-ui: Yew frontend
  3. types: json serializable structures used to communicate the frontend and backend.

Dockerized workflow

  1. Install docker
  2. Run one of the supported make commands
make test
make up
make down
make build

OAuth2

This template supports OAuth2 via yew-auth, to configure client_id and other secrets, read the docker-compose => https://github.com/security-union/yew-actix-template/blob/main/docker/docker-compose.yaml

Copy docker/.env-sample to docker/.env and fill in the variables. Assuming that you want to use Google as your OAuth provider, you will need to generate OAuth 2.0 credentials using a Google Cloud developer account.

Once you have a Google Cloud developer account, you can generate the values for the OAUTH_CLIENT_ID and OAUTH_SECRET variables using the following steps: Setting up OAuth 2.0. As part of registering your web app with Google Cloud to associate with the OAuth credentials, you will need to configure your app to request the following scopes: email, profile, and openid.

More Repositories

1

videocall-rs

teleconference system written in rust
Rust
1,382
star
2

yew-webtransport

rust webtransport support for the yew framework
Rust
52
star
3

av1-streaming

AV1 streaming for Linux and Raspberry PI
Rust
51
star
4

code-muse-rs

generate apps using prompt engineering and the OpenAI API
Rust
41
star
5

rust-for-backend-development

SWITCH TO RUST AND STOP WASTING YOUR TIME WITH JAVASCRIPT RUNTIME EXCEPTIONS
Rust
35
star
6

webtransport.rs

webtransport full stack dev kit for rustaceans
Rust
28
star
7

going-fishing-with-my-raspberry-pi

23
star
8

yew-beyond-hello-world

yew rust tutorial
Rust
18
star
9

yew-websocket

Yew Rust / Wasm for using WebSockets
Rust
17
star
10

yew-weather

call rest api using rust + yew
Rust
15
star
11

pixel-rain-with-rust-and-rust

Pixel rain effect in rust
HTML
14
star
12

escape-the-creepers-with-rust

Ferris has to escape the creepers using a modified version of Dijkstra called A*
Rust
13
star
13

oculus-rc-car-control

Drive RC Car with Oculus
C++
12
star
14

rust-vs-java

Personal study to compare java and rust
Java
11
star
15

remote-shutter

With Remote Shutter one of your devices is the camera remote or camera monitor, and the other device would be set up wherever you would like to take a picture as the camera. Using the connected phone you can take pictures from up to 50 feet away.
Swift
10
star
16

embedded-rust-projects-to-inspire-you

Embedded Rust Projects
Rust
8
star
17

armore-server

Armore is the e2e encrypted location sharing app available for iOS and Android.
TypeScript
7
star
18

helm-website-boilerplate

JavaScript
5
star
19

leptos-webtransport

Rust
5
star
20

yew-recaptcha

Rust Yew bindings for the Google reCAPTCHA v3 API
Rust
3
star
21

rocket-sentry-logger

A Logger wrapper to integrate the Sentry SDK on a Rocket Server
Rust
3
star
22

esp32-metrics-rs

Rust
3
star
23

armore-ios

Armore is the e2e encrypted location sharing app available for iOS and Android.
Swift
3
star
24

advent-of-code-2023-rust

Rust
2
star
25

rust-sentry-demo

Integrate sentry to a Rocket App with the Sentry Rust SDK
Rust
2
star
26

webtransport-echo-server

Rust
1
star
27

vim-learning-together

Rust
1
star
28

smart-pointers

Rust
1
star