/rust-web-starter

Rust Web Application Template

Primary LanguageRustMIT LicenseMIT

Rust Web Application Starter

Prerequisites

Rust

Install Rust:

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

Node.js And PNPM

Install Node.js:

# 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:

npm install -g pnpm

Run

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

pnpm run bootstrap

Then you can run the application:

pnpm run dev

Build

To build the application:

pnpm run build

License

MIT @yugasun