TreyWW / MyFinances

MyFinances is a web application that can help you as an individual, or team, manage your finances!
https://docs.myfinances.cloud
GNU Affero General Public License v3.0
100 stars 144 forks source link

[BIG REVAMP] Public API + Service Layer (#409) #423

Closed TreyWW closed 3 months ago

TreyWW commented 3 months ago

Description

We are going to change the whole of the project to use a Service Layer type approach along with 3 access points.

Instead of duplicating code throughout the main view and public json view, we'll introduce a service layer. All core features, e.g. creating a client in the DB, validating input, will be shared.

Checklist

Related Issues

Shared Tasks

github-actions[bot] commented 3 months ago

Dependency Review

The following issues were found:

View full job summary

Domejko commented 3 months ago

I started working on Invoices.

TreyWW commented 3 months ago

By the way @Domejko to see the UI you can use http://127.0.0.1:8000/swagger/ for interactive API or http://127.0.0.1:8000/redoc/ for just a "documentation" style

TreyWW commented 3 months ago

todo

invoices

TreyWW commented 3 months ago

Added permission system for public api!

TreyWW commented 3 months ago

Big, big, thank you to @Domejko. I really appreciate your help with this feature.