ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Make the backend modular

Open its-me-abhishek opened this issue 1 year ago • 1 comments

  • Create separate files (and folders, if required) for different backend functions
  • Update tests for the same
  • Separate different Taskwarrior functions, data models, etc.

its-me-abhishek avatar Dec 06 '24 16:12 its-me-abhishek

Hey @its-me-abhishek , I have done setup and gone through all code and will like to make modifications as follows

.
└── backend/
    ├── models/
    │   └── ... all structs
    ├── utils/
    │   └── ...all utility functions like GenerateUUID and repeated code blocks
    │   └── tw/
    │       └── ...taskwarrior commands utilities
    ├── tests/
    │   └── ... all test functions
    ├── controllers/
    │   └── ... all request handlers
    ├── routes.go .. all routes 
    └── main.go ... main func

I'll start working on it,
will make PR once done. if you have any feedback, please let me know.

SGI-CAPP-AT2 avatar Dec 10 '24 11:12 SGI-CAPP-AT2