Skip to content

Project Structure Refactor (Website & Bot Codebase Merge) #7

@Crokily

Description

@Crokily

🔧 Objective:

Merge the website and discord bot into a single codebase.

Currently, both contain duplicated database logic:

  • taskbot/database
  • backend/app/models

Refactor the structure to:

  • Share the database logic between both systems
  • Keep clear modular separation for maintainability

⚠️ Notes / Potential Challenges:

  • Make sure to unify import paths (relative or alias) after refactor
  • Do not break existing functionality – re-test after migration
  • Consider a new shared directory, e.g., lib/db or shared/models

🗓️ Due:

On next Wednesday(02/Apr)

✅ Deliverables:

  • Updated directory structure
  • Refactored and unified database layer
  • Short doc explaining structure changes

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions