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

Sample with a database #34

Open
dre2004 opened this issue Jul 28, 2019 · 0 comments
Open

Sample with a database #34

dre2004 opened this issue Jul 28, 2019 · 0 comments

Comments

@dre2004
Copy link

dre2004 commented Jul 28, 2019

Hello,

I am new to Beego and I'm really enjoying the framework, I was wondering if it was possible to include a sample that had a database back-end.

There are probably lots of ways to structure this but if a sample included one possible way (the idiomatic way) it would really be helpful for new people.

For example, it would answer some of the following questions (of which I'm unsure about myself).

  1. How do I connect my application to a database
  2. Where should my CRUD logic go (in the model or in the controller?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant