Rust
A sample rust app for KintoHub
๐ Deploying on KintoHub
- Service Type: Backend API
- Repo: https://github.com/kintohub-examples/rust
- Branch: master
- Language: Rust
- Language version: 1
- Build Command:
cargo build --release
- Start Command:
./target/release/hello-web-server
- Port: 3000
When complete, open the Access tab and open the external URL to see your Rust example!
tip
The Rust example can be deployed using Dockerfile
on KintoHub
๐ฌ Deploying with Dockerfile
- Service Type: Backend API
- Repo: https://github.com/kintohub-examples/rust
- Branch: master
- Language: Dockerfile
- Dockerfile Name: Dockerfile
- Port: 3000
๐จ Running locally
Pre-requisites: Rust v1
- Clone the repository to a folder of choice.
$ git clone https://github.com/kintohub-examples/rust
$ cd rust
- Install the dependencies
$ cargo build --release
- To start the app
$ ./target/release/hello-web-server
After running this command, open localhost:3000
in your browser to view the response sent.
Response sent
Hello world
๐ Support
Contact us: https://www.kintohub.com/contact-us
Discord: https://kintohub.com/discord