bounswe / bounswe2024group7

Collaborative hub for 2024Group7
https://bounswe.github.io/bounswe2024group7/
4 stars 3 forks source link

Restructuring Backend Project for New Endpoints #93

Closed oguzhekim closed 4 months ago

oguzhekim commented 4 months ago

Title:

Restructuring Backend Project for New Endpoints

Category:

Objective:

To reorganize the backend project's structure in preparation for the implementation of new API endpoints related to posts, likes, comments, and user profiles.

Detailed Description:

Overview

Currently, all views and serializers in the backend project are contained within the same file, which can lead to a lack of clarity and maintainability as the project grows. This issue aims to enhance the project's structure by creating separate folders for views and serializers, thereby organizing the codebase more efficiently and preparing it for the integration of upcoming endpoints.

Proposed Restructuring:

  1. Views Folder:

    • Create a new folder named "views" within the backend project directory.
    • Move existing view functions into separate files within this folder.
  2. Serializers Folder:

    • Similarly, create a new folder named "serializers" within the backend project directory.
    • Move existing serializer classes into separate files within this folder.

Implementation Considerations:

oguzhekim commented 4 months ago

I reorganized backend project. Please review the PR#94.