Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kanerix/webshop-example
An example shop page
https://github.com/kanerix/webshop-example
rust yew yew-router
Last synced: about 1 month ago
JSON representation
An example shop page
- Host: GitHub
- URL: https://github.com/kanerix/webshop-example
- Owner: Kanerix
- License: apache-2.0
- Created: 2023-06-30T12:39:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-30T20:27:54.000Z (12 months ago)
- Last Synced: 2023-12-30T21:57:52.250Z (12 months ago)
- Topics: rust, yew, yew-router
- Language: Rust
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Webshop example
This is a website created for fun and experience.
The website is created using the Rust framework Leptos.
Even tho Leptos support SSR the website is currently using CSR.# Running the website
## Requirements
- [Rust](https://www.rust-lang.org/tools/install)
- Tailwindcss: `npm i -g tailwindcss`
Install necessary toolchains and targets.
```
rustup toolchain install nightly
rustup default nightly
rustup target add wasm32-unknown-unknow`
````## Development
### Using MPROCS
- Make sure you have `mprocs` installed (`cargo install mprocs`).
- Run the command `mprocs` in the root directory.
- Locate the website at http://localhost:8080
### Using only commands
- Make sure you have
## Production
### Docker
- WIP