gothinkster / realworld

"The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more

Home Page:https://www.realworld.how/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust / Rocket / Diesel / Mysql - Backend Application

navinkumarr opened this issue · comments

Could you clarify how this is different from: https://github.com/gothinkster/rust-realworld-example-app

Here are a few points because of which I started working on this application. Don't see these in the example application you have posted above.

  1. It is built according to the Rocket framework standard (Trying to make a complete application with proper error handling, database connection pooling, support for master/slave architecture for database etc).
  2. I have seen many example applications using Postgres. This one has the implementation for Mysql (Even though using an ORM, a straightforward example still helps).
  3. Clean architecture (Could use this app architecture for writing bigger applications since it is properly layered).

Do let me know what you think @anishkny

I am not an expert on Rust. It might be worth discussing with their contributors if this is different enough? @davidpodhola, @leia,

cc: @Cameron-C-Chapman

I will support the new implementation by @navinkumarr.
Not only it is using a different database, but also using a different framework; Rocket is nice (note: we did not use it because we were told it is old and un-updated).
Also please note our implementation was done when we were very Microsoft oriented (everything in the repo is Windows-oriented); I hope the new one is multiplatform.
I think @navinkumarr you could at least reuse the tests we did, we had a very good code coverage.

@davidpodhola Thank you for reviewing the project. Your feedback is much appreciated. Will surely take reference from your application wherever possible.

Go for it @navinkumarr best luck! Would be good if you could document differences from the first repo.

@navinkumarr Is this still WIP? I'd love to take this on using the Rocket 5.0 beta

Hello we are currently moving all work in progress to Github Discussions.
I'll close this issue by now, you can find instruction to open a discussion there : #633

Thanks for your contribution !