diff --git a/Acornfile b/Acornfile index 6a58ad8..87a9470 100644 --- a/Acornfile +++ b/Acornfile @@ -1,11 +1,13 @@ name: "Rust Sample Acorn" description: "Acorn running a sample Rust app" readme: "./README.md" +icon: "./rust_icon.png" args: { - // Name of the database to create. Defaults to "instance" + // Name of the database to create. Defaults to "rust-sqlx" dbName: "rust-sqlx" + // Name of the database user to create. Defaults to "rust" dbUser: "rust" } @@ -43,6 +45,7 @@ containers: { publish: "3000:3000/http" } env: { + // Frontend forwards the requests to the Backend Container Service Endpoint "BACKEND_SERVER": "@{services.backend.endpoint}" } memory: 1048Mi diff --git a/README.md b/README.md index ce89578..25d794a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Acorn for a Rust sample app - Feedback App -This is a Fullstack Rust app created in using Actix, SQLX and Postgres as Backend and Yew-TailwindCSS as its frontend. The user can give feedback and comments using this SPA web app. +This is a Fullstack Rust app created in using Actix, SQLX and Postgres as Backend and Yew-TailwindCSS as its frontend. The user can provide feedback ratings and comments using this SPA web app. The application utilises the Acorn Postgres DB service to store the feedback data where the dbName and dbUser are customisable. Once deployed, the SPA web app is available on the Frontend Service Endpoint. + ## What is Rust? diff --git a/rust_icon.png b/rust_icon.png new file mode 100644 index 0000000..d69df79 Binary files /dev/null and b/rust_icon.png differ