Open GopherJ opened 4 years ago
I've already started the second option. It's not finished, since I faced some problems in the diesel-adapter. After releasing version 0.3.0 it's more possible to be able to finalize it.
@omid don't hesitate if you have met any problems.
@GopherJ PR is created @ https://github.com/casbin-rs/examples/pull/2
actix-web + casbin example with diesel-adapter, using CachedEnforcer https://github.com/casbin-rs/examples/tree/master/actix-middleware-example
It'll help the developpers a lot if we can add more examples like what actix-web has done: https://github.com/actix/examples
Currently we don't have enough docs. I hope me or anyone else can find time to add them.
But at the same time we can already start to prepare some examples like:
Maybe we can also add some examples on other web frameworks.
I added an repo if anyone wants to contribute.
https://github.com/casbin-rs/examples