thanks also like to know so you know about the swift back end? I am a little bit confuse is Rust is ready for the production type of API app for a mobile app? i have my own API written in swift that's working good but i am also interested in RUST so i start to reading you post :)
I think as an API backend Rust is ready for production, might need to polish some areas but you could have your app deployed with confident. for example: figma.com/blog/rust-in-production-...
also, i follow your tutorial till here Finally goes to http://localhost:8088/products.
but and trying to understand why it not showing :( my products list already debugging more then 2 hours :(
you don't have models.rs? in ur project so it confuse for newcomer :) prnt.sc/p0bfqb
Oops!, thanks for pointing this out, fixed now.
thanks also like to know so you know about the swift back end? I am a little bit confuse is Rust is ready for the production type of API app for a mobile app? i have my own API written in swift that's working good but i am also interested in RUST so i start to reading you post :)
I think as an API backend Rust is ready for production, might need to polish some areas but you could have your app deployed with confident. for example: figma.com/blog/rust-in-production-...
do you know swift back end like vapor ? if yes what you think about swift back end?
thanks
To be honest, I don't know swift, so I can't make an informed opinion about it.
ok no worry thanks for reply also check this prnt.sc/p0et3l image you don't have still extern crate futures; and you add it so its give us error too
also, i follow your tutorial till here
Finally goes to http://localhost:8088/products.
but and trying to understand why it not showing :( my products list already debugging more then 2 hours :(
here is my code please check me if you will have
bitbucket.org/Alifdev/ruststore
Hi, sorry for the late response, I was on vacations. Try to follow these tips and tell me if it works.
curl http://127.0.0.1:8088/products -H "Content-Type: application/json" -d '{"name": "socks", "stock": 7, "price": 2}
curl http://localhost:8088/products
Tell me if it works.
yes it is working thanks :)