Rocket is an async web framework for Rust with a focus on usability, security, extensibility, and speed.
This section revolves around simple Rocket examples you can get quickly started with by following these 3 steps:
Initialize a new Rocket project by running the shuttle init --template rocket command
Copy pasting the contents of the example you want to deploy — make sure to check the tabs of the snippet(s) to ensure you are copying the right code/file
Running the shuttle deploy command
If you are looking for step-by-step guides, check out our Tutorials section.
You can clone the example below by running the following (you’ll need shuttle CLI installed):