LeTurt333 / yew_http_starter

Yew starter template including a simple HTTP request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yew HTTP starter

What is this?

A Yew starter template with a simple HTTP message built in.

App.rs (where a majority of the code is) has some useful comments to understand the structure of the template.

What you will need


Usage

Set target:

$ rustup target add wasm32-unknown-unknown

Clone this repo:

$ git clone https://github.com/LeTurt333/yew_http_starter

In the root of the repo you just cloned, run:

$ trunk serve

Open a browser window & go to:

http://127.0.0.1:8080/

Note: Make sure to plug in your own api if you want it to work right away!

About

Yew starter template including a simple HTTP request


Languages

Language:Rust 57.3%Language:CSS 38.2%Language:HTML 4.4%