https://github.com/gitpod-samples/example-rust-rocket
A starter project for building a web backend with Rocket in Rust
https://github.com/gitpod-samples/example-rust-rocket
Last synced: about 1 month ago
JSON representation
A starter project for building a web backend with Rocket in Rust
- Host: GitHub
- URL: https://github.com/gitpod-samples/example-rust-rocket
- Owner: gitpod-io
- License: mit
- Created: 2021-05-27T08:54:09.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T15:57:06.000Z (over 3 years ago)
- Last Synced: 2025-06-08T19:04:53.995Z (about 1 year ago)
- Language: Dockerfile
- Size: 17.6 KB
- Stars: 2
- Watchers: 9
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Rocket Starter
A starter project for building a web backend with [Rocket](https://rocket.rs/v0.4/guide/getting-started/) in Rust.
## Getting started
1. Create a fresh project in your account based on this [template](https://github.com/gitpod-io/rust-rocket-starter/generate).
1. Install Gitpod's [GitHub App](https://github.com/apps/gitpod-io/installations/new) on your account.
The app will install a webook on your project to get informed when branches are pushed or updated. Gitpod will then prebuild your dev environments ahead of time, so noone has to wait for dependency installation and initialization anymore.
1. Run your first prebuild by prefixing https://gitpod.io#prebuild/ to the URL of the repository.
The revised URL is: `https://gitpod.io/#prebuild/https://github.com///`.
Gitpod displays the prebuild logs by running the init commands in the `.gitpod.yml` file and starts a first workspace based on the results afterwards. Later, when you create a new workspace on a branch, or pull/merge request, for which a prebuild exists, the workspace loads much faster, because all dependencies are already downloaded and the code is compiled. For more information, see prebuilds.
1. Share with your team 🚀
[](https://gitpod.io/from-referrer/)