Jonathan Kelley 3fb1f739d1 Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975) há 9 meses atrás
..
public 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás
src 3fb1f739d1 Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975) há 9 meses atrás
.gitignore 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás
Cargo.toml 3fb1f739d1 Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975) há 9 meses atrás
README.md 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás
demo.png 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás
input.css 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás
tailwind.config.js 983fcfc616 Chore: hoist example projects for discoverability (#2959) há 9 meses atrás

README.md

Dioxus Example: An e-commerce site using the FakeStoreAPI

This example app is a fullstack web application leveraging the FakeStoreAPI and Tailwind CSS.

Demo Image

Development

  1. Run the following commands to serve the application (see the tailwind example in the main Dioxus repo for more detailed information about setting up tailwind):

    npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
    dx serve
    

Status

This is a work in progress. The following features are currently implemented:

  • A homepage with a list of products dynamically fetched from the FakeStoreAPI (rendered using SSR)
  • A product detail page with details about a product (rendered using LiveView)
  • A cart page
  • A checkout page
  • A login page