Skip to content

kintohub-examples/rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

🔨 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published