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

New backend based on loco #392

Merged
merged 72 commits into from
Jan 2, 2025

Conversation

DenuxPlays
Copy link
Contributor

No description provided.

@DenuxPlays DenuxPlays force-pushed the backend/feature/enhanced-backend-structure branch from 3f41b19 to f6da84e Compare January 1, 2025 21:49
@DenuxPlays
Copy link
Contributor Author

security audit fails due to validator being on version 0.18

is getting fixed with loco 0.14

@DenuxPlays DenuxPlays marked this pull request as ready for review January 2, 2025 22:01
@DenuxPlays DenuxPlays merged commit c06d536 into main Jan 2, 2025
8 of 9 checks passed
DenuxPlays added a commit that referenced this pull request Jan 2, 2025
* added new entities and repositories

* added first (but useless) controller

* started on implementing account controller

* Getting started on a completely new backend using different technologies

* Started work on new schema

* added transaction tables

* move back to a single permissions table

* added contracts and tags

* added budget tables

* added file attachment support

* updated compose file

* Inited loco-project

Add todo because transaction type has some problems

* schema optimizations

- added global bank accounts
- added type to transaction
- added purpose and note to transactions

* removed useless api_key column

* Added missing schemas and data

- expanded schema
- added currency data

* added some more workspace files

* hopefully finalized schema

- removed inheritance
- fixed budget tables

* More basic setup

* A lot of schema and setup work

* updated crates

* removed useless `linked_transactions` table

* Some more dev fixes

* more initial setup work

* updated dependencies

* Yeah some restructure

* hopefully fixed basic workflows

* added entities and removed some other stuff

* Basic OpenApi setup

* updated rust

* remvoed uuids

* More auth, services, snowflakes etc.

* enhance snowflake generator + added scheduler

* used initializers & clippy fixes

* some improvvements idk

* Updated crates

* Errors and auth start

* Errors and auth start

* use scheduler

* Allow 0 as node id

* More errors and other shit

* renamed a response

* enhanced docker image builds

* Added verify endpoint to users

* Replaced basic macro with proc_macro for enhanced code generation

* enhanced macro with utoipa response generation

* added some more docs

* implemented new macro

* improved released profile

* updated config + storage integration

* mapped all loco errors

* added instance manager

* Improved instance handling and removed cleanup task

* completed user controller

* added session controller

* finished session controller

* made details field optional

* fixed docs

* added status endpoints

* temporary route fixes

Fixes: loco-rs/loco#1116

* Fixed docker builds (hopefully)

* started fixing tests

* some improvements

* added comments on how to solve the ValidationError thing

* fixed model::users tests

* fixed build and test workflow

* added test case for openapi routes

* added some new test + fixed a few endpoints and schema issues

* added more tests

Note:
Somehow if we run tests only the first one succeeds and closes the pool

* fixed all remaining tests + db error

* fixed `.env.dist`

* added extra build step to test ci

* fixed insta building
@DenuxPlays DenuxPlays deleted the backend/feature/enhanced-backend-structure branch January 2, 2025 22:01
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

Successfully merging this pull request may close these issues.

1 participant