Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Kardius – find people like you, near you – made with Rust and Rocket. Parent comment
For authenticating with Google and Facebook I used the oauth2 crate.
For logging in in general I used private encrypted cookies as described on this page: https://api.rocket.rs/v0.4/rocket/http/enum.Cookies.html
I used a Request Guard that decrypts this cookie into the corresponding user identifier. Here's a link to that page: https://api.rocket.rs/v0.4/rocket/request/trait.FromRequest....
I've been working on this for a little over a year now, off and on.
Let me know if would like me to expand on any of these points.
There are no comments on this comment yet.
For authenticating with Google and Facebook I used the oauth2 crate.
For logging in in general I used private encrypted cookies as described on this page: https://api.rocket.rs/v0.4/rocket/http/enum.Cookies.html
I used a Request Guard that decrypts this cookie into the corresponding user identifier. Here's a link to that page: https://api.rocket.rs/v0.4/rocket/request/trait.FromRequest....
I've been working on this for a little over a year now, off and on.
Let me know if would like me to expand on any of these points.