codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

initial OOD implementation #162

Open Rupeshiya opened 4 years ago

Rupeshiya commented 4 years ago

name: Pull Request template about: Describe the PR. title: '' labels: '' assignees: ''


Problem

Github Issue Number: #159 As of now, the codebase does not follow any design pattern, so it's pretty hard to make it maintainable and flexiblel_

Solution of problem

Refactor the backend codebase by following the Object-oriented design pattern like Singleton classes, factory classes

Type of Change

[ ] Bug fix [✓] New Feature [ ] Development of UI/UX prototypes [ ] Small refactor [ ] Change in Documentation

Checklist

[✓] My code follows the same style as the codebase [ ] My Code change requires a change in documentation [ ] I have updated the Readme accordingly [✓] I made PR against development branch [ ] I have run the test cases locally and it's passing. [✓] I have squashed my commits

devesh-verma commented 4 years ago

Best way would have been going one file at a time of functionality wise. 😔

Rupeshiya commented 4 years ago

@devesh-verma Is there anything wrong? Just fetch this PR locally and run. It is working fine. Let me know if I need to change anything.