Skip to content

Sample with a database #34

@dre2004

Description

@dre2004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions