leptos/examples/hackernews_js_fetch
Daniel Santana cadd217078 Update integration with support for axum 0.7 (#2082)
* chore: update to axum 0.7

Removed http, since it's included in axum, and replaced hyper by http-body-util, which is a smaller.

* chore: update samples to work with nre axum

Missing sessions_axum_auth, pending PR merge.

* chore: all dependencies update to axum 0.7

* chore: cargo fmt

* chore: fix doctests

* chore: Fix example that in reality doesn't use axum.

Fixed anyway.

* chore: more examples support for axum 0.7

* Small tweak
2024-01-19 14:13:55 -05:00
..
public feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
src Update integration with support for axum 0.7 (#2082) 2024-01-19 14:13:55 -05:00
Cargo.toml Update integration with support for axum 0.7 (#2082) 2024-01-19 14:13:55 -05:00
deno.jsonc feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
deno.lock feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
LICENSE feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
Makefile.toml feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
README.md examples: remove incorrect CSR information for hackernews_js_fetch example (#1997) 2023-11-06 14:45:26 -05:00
run.ts feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00

Leptos Hacker News Example with Axum

This example uses the basic Hacker News example as its basis, but shows how to run the server side as WASM running in a JS environment. In this example, Deno is used as the runtime.

Server Side Rendering with Deno

To run the Deno version, run

deno task build
deno task start