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

Title: Improve Project Structure and Architectural Pattern for Maintainability #36

Open
nixhantb opened this issue Apr 22, 2024 · 3 comments

Comments

@nixhantb
Copy link

Folder Structure Enhancement:

  1. Create a structured folder hierarchy, separating input/output data & source code
  2. Organize input/output data files in a dedicated data/ directory, with subdirectories for input and output files.
  3. Move source code files into a src/ directory, with further categorization into modules for future maintainability
  4. Add tests folder for the unit testing the code.

Architectural Pattern Adoption:

  1. Define modules representing the Model (data/business logic), View (presentation layer), and Controller (intermediary logic) components.
  2. Ensure clear communication and interaction between different components to facilitate maintainability and scalability.
@ashiishme
Copy link

Agreed. You can also come up with a plan and then create multiple issues that can be used to track the progress.

For example, come up with a standard project structure and someone can take it as reference ( including you ).

Also, for the Architectural pattern, a monolith structure with MVC pattern seems reasonable.

@LuluW8071
Copy link
Contributor

Modularization

I think it's time to modularize the code, separating the script into individual scripts for functions. Its tedious navigate through >300 lines of codes and debug.

@shirshakmaskey
Copy link

I would recommend node/express. this can serve as a backend for many moest applications. Please let me know if the author is okay with this.

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

4 participants