#web-apps #web #static #cli

app rocket-starter

Tool to create skeleton for a Rocket-based web application

4 releases (breaking)

new 0.4.0 May 22, 2024
0.3.0 May 8, 2024
0.2.0 May 8, 2024
0.1.0 May 8, 2024

#124 in HTTP server

Download history 243/week @ 2024-05-03 57/week @ 2024-05-10 50/week @ 2024-05-17

350 downloads per month

MIT/Apache

15KB
396 lines

Rocket starter

Start building a Rocket-based web application.

Install

cargo install rocket-starter

Start a simple Rocket-based application

rocket-starter --simple hello
cd hello
cargo test
cargo run

Start a Rocket-based web application using Tera template

  • Template
  • 404 pages
rocket-starter --tera2 hello
cd hello
cargo test
cargo run

Start a Rocket-based web application using Tera template

  • Template
  • 404 pages
  • Rocket.toml file with custom configuation
rocket-starter --tera1 hello
cd hello
cargo test
cargo run

Release

  • Update the version number in Cargo.toml to 0.4.0
  • Update the CHANGELOG.md
git add .
git commit -m "prepare for 0.4.0"
cargo publish
git tag -a 0.4.0 -m 0.4.0
git push --tags

Dependencies

~3–13MB
~155K SLoC