Skip to content

Restructuring backend as MVC #912

Closed
Closed
@vignesh-sankaran

Description

@vignesh-sankaran

Relaying the thoughts of @carols10cents from an email sent to me. We could look into setting up modules with the following structure:

  • Model: All DB interaction structs
  • View: Encodable implementations e.g. Encodable Crate
  • Controller: All functions associated with API endpoints

This would also require a restructuring of unit and integration tests, so this would definitely not be a small task.

Thoughts @carols10cents?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-internal 🔧Category: Nonessential work that would make the codebase more consistent or clear

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions