shuttle-hq / shuttle-examples

Examples for using Shuttle with different frameworks and resources
https://www.shuttle.rs
143 stars 59 forks source link

feat: Add opendal hello world example #142

Closed Xuanwo closed 7 months ago

Xuanwo commented 7 months ago

Description of change

Add a hello world example for opendal

How has this been tested? (if applicable)

Local tested.

jonaro00 commented 7 months ago

Thanks! Since we are for now mainly organising by web framework (the structure will improve later), can you

  1. Move it to rocket/opendal
  2. add a line in the README.md
Xuanwo commented 7 months ago

Got it. I want to extend the examples to s3/azblob and so on. Do you have suggestions for the layout?

jonaro00 commented 7 months ago

Aren't those examples quite trivial when compared against the in-memory one? Wouldn't they be identical but with an added Secrets.toml.example file and a different scheme param? Showing how to do it for S3 in rocket/opendal-s3 should be sufficient for showing the pattern.

Xuanwo commented 7 months ago

cc @jonaro00, PTAL, thanks!