Robyn icon indicating copy to clipboard operation
Robyn copied to clipboard

[Feature Request] A project scafold or boilerplate of a Robyn API

Open juanfrilla opened this issue 2 years ago • 12 comments

Hello, do anybody have a Robyn boilerplate to look what an API files structure looks like?

Anything like this in FastAPI: https://github.com/tiangolo/full-stack-fastapi-postgresql If not, i kindly suggest you to implement one.

juanfrilla avatar Jan 16 '23 17:01 juanfrilla

Hey @juanfrilla , that's a great idea. Unfortunately, there is nothing like that at the moment. We will be happy to create one 😄 Is there something specific that you would like to see? (frontend framework, database provider, or something else)?

sansyrox avatar Jan 16 '23 19:01 sansyrox

@sansyrox Thanks. It could be good for me with the API folder structures, some .py files inside of it and some code inside those .py files. For example a simple CRUD API. e.g database connection, some endpoints, business logic, some models, serialization...

About technologies: Front-end: Only if you want, It's not necessary for me, as the framework itself (backend) is more important. Referred to databases, I don't care which one you use because whatever you put, is changing one for another. Referred to SysAdmin/Devops: It will be nice that the boilerplate will be ready for production, with some dockerfiles or docker-composes inside of it. If you want to add some CI/CD its valid for me as well, for example with Github Actions. Additionally, it's up to you to add some kind of Kubernetes with microservices (this could be complicating it a little bit) .

PD: I discovered your framework today and it looks really promising and fast. It's curious that is a Python framework written in Rust. Keep going 😄🙏

juanfrilla avatar Jan 16 '23 19:01 juanfrilla

Thank you for the detailed examples @juanfrilla 😄

I discover your framework today and it looks really promising and fast. It's curious that is a Python framework written in Rust. Keep going 😄🙏

Thank you! 😄 I am glad you liked it ✨

sansyrox avatar Jan 16 '23 21:01 sansyrox

Hey @Noborita9 👋

Would you be interested in something like this?

sansyrox avatar Mar 12 '23 21:03 sansyrox

Yeah, I am willling to take this. Should I create a repo on my own or where to let it there

Noborita9 avatar Mar 12 '23 22:03 Noborita9

Oh, perfect. I can create a Repo and add you as a collaborator there. Would that work for you?

sansyrox avatar Mar 12 '23 23:03 sansyrox

@Noborita9 , I robyn will be a part of a larger organization and I would want the template to live there. So, it will be easier that way imo.

sansyrox avatar Mar 12 '23 23:03 sansyrox

Yeah, seem great just send me the invite and I'll will be working there.

Noborita9 avatar Mar 13 '23 00:03 Noborita9

@Noborita9 , I have added you to the repo. Can you check if you have access?

sansyrox avatar Mar 18 '23 10:03 sansyrox

@sansyrox I just made a push, so everything is fine for me to work on it! This week I've been a bit busy, so I expect next week to be pushing some content there

Noborita9 avatar Mar 18 '23 13:03 Noborita9

It would be nice if you add the repo here guys 😉

juanfrilla avatar Apr 26 '23 16:04 juanfrilla

Hi @juanfrilla, here's the repo, I stopped making it because I was interested at having routers, so when they are added (They are on their way)I will make a first version of it

Noborita9 avatar Apr 26 '23 17:04 Noborita9

Can this question be extended to add a command-line sub command to robyn to give it scaffold like functionality?

zweix123 avatar Jul 26 '24 01:07 zweix123