dioxus/example-projects/ecommerce-site
Jonathan Kelley ba4389567d
Deprecate relative asset paths, better warnings for asset!() (#3214)
* Deprecate relative asset paths

* fix paths, better warnings in asset parser
2024-11-13 19:52:23 -05:00
..
public Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00
src Deprecate relative asset paths, better warnings for asset!() (#3214) 2024-11-13 19:52:23 -05:00
.gitignore Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00
Cargo.toml Don't publish example projects 2024-10-14 13:00:57 -07:00
demo.png Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00
input.css Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00
README.md Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00
tailwind.config.js Chore: hoist example projects for discoverability (#2959) 2024-09-16 09:11:33 -05:00

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