#A modern web backend example using actix
31 messages ยท Page 1 of 1 (latest)
It could be interesting to extend to other frameworks yes !
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
Indeed. Let me try and give it a shot. Would appreciate your review.
Oh that would be awesome !
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 ๐ .
Oh nice! Thanks, @light delta !
I didn't know of the realworld standard. It's quite interesting bc it's pretty close to my original goals. I found a more advanced actix backend than mine, I'll see if I can port my work to their codebase.
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
Yes I think that would be a great idea I think a collection of realworld implementation would be really great like maybe we can have a repository something like actix-starter-collection-kit which will contain a number of different implementations and examples. Also, I can see having community contributions too. This is just my suggestion I hope you like it ๐ .
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.
No I mean an examples repository something of this sort but this would contain realworld starter examples that would be the only difference. So basically this will allow anyone to take an example modify for their needs an get it up an running 30 seconds that's what I am thinking. What do you think ? ๐
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 ๐ .
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.
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 ?? ๐
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
Ok sure ๐ , Thanks โค๏ธ for the invitation. I will try to contribute my best the repository. ๐ .
Ok I just noticed it is on gitlab, Well I don't have a gitlab account ๐ . So I have imported your repository to my and I have invited you to be a maintainer in the repository. So I would suggest accepting the invite ๐ .
Ye np ! The org is on github and ye the initial repo i did was on gitlab
its public / mit tho you can do w/e with it
Ok I see, Though I didn't recieve the invite. Can you please send it again ๐
strange, ok ill resend
I've updated it but it was sent ? Idk, tell me if its good now
Yes, recieved ๐ Thanks โค๏ธ I will start working on it right away ๐ ๐
You have owner rights in the org, I consider you are equally free to invite and manage members than me
@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.
@nova tundra I've ported my efforts to a several examples repository that also include an updated version of this todolist app. If you found todolist interesting I'm sure you will find other stuff interesting in there; you're also welcome to either push a MR to us, that I will review with care, or join community if you'd like