Extend the docs (blog?) for the Rust Actix template to provide next steps #124
dupuyarc
started this conversation in
Feature Requests and Ideas
Replies: 1 comment
-
Excellent points. We'll put this on our list! Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just for kicks, I thought I would try this one first. I was able to deploy the template from the Desktop Workshop, I could see that things started running, but wasn't sure what was there. On the Application page, I saw the endpoint
template-rust-actix.local.noop.app
displayed under Active Endpoints (and after clicking through the Endpoint page and the Authority link, I got this page:In a terminal, I could generate the GET alright, but it sort of left me at a loss as far as how I could proceed, since it just returned
[]
(presumably an empty JSON list), and I had no idea what sort of data one should post to the/users/add
page.It's a pretty far cry from the equivalent Django page (below). Obviously this isn't a problem with Noop or the templates, but it would help to have something in the docs or the blog indicating that this is what's expected from an unmodified Actix + Postgres deployment.
(There's another small typo in the blog: "OTo start a new Actix project").
Perhaps a link to Actix docs might help, although that describes a much more minimal deployment without Postgres, so isn't really so useful here. Almost anything that gives you some idea about what you need to do to extend this web server + Postgres DB deployment would be useful. Even a
curl
command line snippet for generating a POST to/users/add
would be a start.Beta Was this translation helpful? Give feedback.
All reactions