Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yugasun/rust-web-starter

Rust Web Application Template
https://github.com/yugasun/rust-web-starter

rust-web rust-webassembly starter-template yew

Last synced: about 1 month ago
JSON representation

Rust Web Application Template

Awesome Lists containing this project

README

        

## Rust Web Application Starter

### Prerequisites

#### Rust

Install Rust:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

#### Node.js And PNPM

Install Node.js:

```bash
# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
# download and install Node.js (you may need to restart the terminal)
nvm install 18
```

Install PNPM:

```bash
npm install -g pnpm
```

### Run

Before running the application, you need to install the dependencies:

```bash
pnpm run bootstrap
```

Then you can run the application:

```bash
pnpm run dev
```

### Build

To build the application:

```bash
pnpm run build
```

## License

[MIT @yugasun](LICENSE)