Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
juanfrilla opened this issue Jan 16, 2023 · 14 comments
Closed

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

juanfrilla opened this issue Jan 16, 2023 · 14 comments
Labels

Comments

@juanfrilla
Copy link

juanfrilla commented Jan 16, 2023

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

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

@sansyrox
Copy link
Member

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)?

@juanfrilla
Copy link
Author

juanfrilla commented Jan 16, 2023

@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 😄🙏

@sansyrox
Copy link
Member

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
Copy link
Member

Hey @Noborita9 👋

Would you be interested in something like this?

@Noborita9
Copy link
Contributor

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

@sansyrox
Copy link
Member

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

@sansyrox
Copy link
Member

@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.

@Noborita9
Copy link
Contributor

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

@sansyrox
Copy link
Member

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

@Noborita9
Copy link
Contributor

@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

@juanfrilla
Copy link
Author

juanfrilla commented Apr 26, 2023

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

@Noborita9
Copy link
Contributor

Noborita9 commented Apr 26, 2023

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

@zweix123
Copy link

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

@sansyrox
Copy link
Member

This now present in the robyn cli. Just use robyn --create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants