leptos/examples/hackernews_islands_axum
Greg Johnston 2bc04444e1 work related to 0.7 blog port 2024-08-01 19:40:24 -04:00
..
.cargo feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
public feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
src work related to 0.7 blog port 2024-08-01 19:40:24 -04:00
Cargo.toml chore: update gloo-net and reqwest to http 1.0 (closes #2688) (leptos 0.6) (#2751) 2024-08-01 19:39:54 -04:00
Dockerfile feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
LICENSE feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
Makefile.toml feat: Add Compression to Hacker News w/ Islands Example (#2613) 2024-06-28 15:01:05 -04:00
README.md feat: Add Compression to Hacker News w/ Islands Example (#2613) 2024-06-28 15:01:05 -04:00
index.html feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
rust-toolchain.toml chore(ci): run all examples under stable and fix remaining linting issue (#2503) 2024-04-05 16:09:23 -04:00
style.css feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00

README.md

Leptos Hacker News Example with Axum

This example creates a basic clone of the Hacker News site. It showcases Leptos' ability to:

  • Create a client-side rendered app
  • Create a server side rendered app with hydration
  • Precompress static assets and bundle those in with the server binary

This repo differs from the main Hacker News example by using Axum as it's server, precompressing and embedding static assets into the binary, and dynamically compressing the generated HTML.

Getting Started

See the Examples README for setup and run instructions.

Quick Start

Run cargo leptos watch --release -P to run this example.