akshitagupta15june / akshitagupta15june/PetMe

Refactor the API controllers

Open
#680 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
515
Forks
747
PR merge metrics
No merged PRs in 30d

Description

I want to refactor the API controllers for this project by segregating business logic into controllers and services.

- Services will expose functions that will interact with the database or any other external data provider.
- Move commonly used functions under a utils folder.
- Have a common API client that can be imported wherever required.

There are other code-level improvements that can be done.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.