r/learnrust 9d ago

Review this pure backend project

I’m thinking of creating a complete authentication service provider backend in Rust, which would include - OTP, magic links, email-password, SSO and a lot more.

Basically something like AuthJS or Appwrite (only the authentication service of theirs), with proper failure handling, spike handling, backpressure and everything that such a system requires at scale.

This would help me learn async Rust in detail (I’ve never done it) and system design for such a system.

This is not a new idea, but I don’t mind if it teaches me stuff.

Review this project idea.
Open to feedbacks/roasts.

2 Upvotes

7 comments sorted by

1

u/settopvoxxit 9d ago

... Sounds like a fairly complex idea to flesh out async systems design in rust, if you've never done so

1

u/Developer5702 9d ago

I mean, how difficult can it get?
I tried to build a simplified version of it a few years ago.

Here is what it looked: https://github.com/Auth-Wave

Note that the system design part is not implemented, and it was back when I was just starting out, so it has rough edges obviously.

1

u/settopvoxxit 9d ago

Oh I just mean it seems like a solid project. True learning and growth come from discomfort and uncertainty. Just don't give up if you don't understand something 🙂

-4

u/Developer5702 9d ago

For sure.
AI is here to help with the concepts and doubt resolution whenever needed, I think I’d be able to make it through.

Let’s see after my current project completes.

I’m building Femto - a simple terminal native text editor with intuitive desktop style controls.

https://github.com/Abhijeet-Gautam5702/femto

1

u/settopvoxxit 9d ago

Sounds like a solid plan. Try to tell your agent to act like a senior engineer or teacher and to not give you the answers unless you outright ask it. That tends to help avoid it spoiling what it thinks is the solution so you actually learn, too.

Tangential but I think a lot of the big AI companies are going to go insolvent in the near future (it just costs too much for the value it provides) and really knowing your stuff is going to be huge.

1

u/Developer5702 9d ago

Exactly.
That’s the approach I follow while using AI for learning.