#A modern web backend example using actix

31 messages ยท Page 1 of 1 (latest)

hardy forge
#

Any plans to do this for axum too? (standing because walking is work)

obtuse brook
#

I don't really know what are the next prios for this, originally i wanted to do a command line that customizes the repo with your favorite techs, but having 1 example was the start of it

hardy forge
#

Indeed. Let me try and give it a shot. Would appreciate your review.

obtuse brook
#

Oh that would be awesome !

light delta
# hardy forge Any plans to do this for axum too? (standing because walking is work)

I think for now if you need a real world example for an application written with axum then I would suggest taking a look here:

https://github.com/tanakh/axum-yew-shuttle-realworld-example-app

Also, I think I would suggest Diane M to take a look as well maybe it might help you too ๐Ÿ™‚ .

GitHub

Starter kit for new RealWorld framework implementations - GitHub - tanakh/axum-yew-shuttle-realworld-example-app: Starter kit for new RealWorld framework implementations

hardy forge
#

Oh nice! Thanks, @light delta !

obtuse brook
#

Then I'll work on the CLI. Because you have different realworld api implemenations and they are all compatible etc. I'll just gather a collection of the rust ones, propose interactively frontends as an option and just pull the corresponding repo(s) IG

light delta
obtuse brook
#

Ooo you mean a collaborative list like the rust-awesome but for web starting packs ? Sounds really good. Or you could have the repo have the examples as well, but it wouldn't be as easily exhaustive.

light delta
#

So the repo could be named like 30-seconds-realworld-starter-collections something like that. This is just my suggestion I hope you like it ๐Ÿ™‚ .

obtuse brook
#

I think i share the goal but its just on the specifics. Do you suggest i copy or make my own examples on the repo ? But then its either a lot of work and / or a lot of maintenance to keep them up to date. Likely there is something that I'm missing in your plan

#

Or maybe not that much. Perhaps a curated list of forks could do but idk. I need to be convinced

#

๐Ÿ˜„

#

I've created a github group. It's called rust-web-community and I imagine it to be a sorta collective proposal of resources (of all kind) to do webdev in rust.

#

If anyone is interested, I just need a handle to add ppl.

light delta
# obtuse brook I think i share the goal but its just on the specifics. Do you suggest i copy or...

I think I can create a repository of that kind if you wish and we can have the community and us contribute to it by adding a list of examples in lets say examples folder in the project like what I mean is something like this:

Examples
|.... project_1
|.... project_2
|.... project_3
|.... ...

So basically people can contribute quick realworld actix web or whatever framework project and people would simply need to take the folder and download it on their system and have a quick template to modify the project according to their needs in 30 seconds what do you think ?? ๐Ÿ™‚

obtuse brook
#

That sound perfect. I'll invite you to the org. There is a repo where i started a smol list in a readme. You're welcome to re-shape it as you like

light delta
light delta
obtuse brook
#

its public / mit tho you can do w/e with it

light delta
obtuse brook
#

strange, ok ill resend

#

I've updated it but it was sent ? Idk, tell me if its good now

light delta
obtuse brook
#

You have owner rights in the org, I consider you are equally free to invite and manage members than me

nova tundra
#

@obtuse brook Thanks for sharing this. I did something similar with axum, but it was for a real project. Your example was great to compare and see some things I could do better. I added "port" to the config so I could go to a specific pg database on 5433. I'm happy to push a merge request if you'd like.

obtuse brook