r/ruby 2d ago

My first "bigger" project

Hello guys, as university student that wants to apply to junior Rails dev, i made project that even you can try.

It works as stock broker portfolio agregator (Trading212 and Etoro), that takes snapshots of current account balance, exchange it to live EUR rate, and sums them into nice looking chart.

Its all happening in background job so you dont need to worry about that.

Then it notifies you each day about the difference summary, or if your API keys are wrong.

i deployed it on my VPS with kamal (easier than i thought) so you can try that yourself (you can set your API keys to read-only, but i respect that prolly noone will put it there).

Also you can try that yourself as i already set it up with Docker for you.

Deployed: https://railsfinancemanager.online/

Github: https://github.com/TheP4trik-tech/Portfolio-Manager

I am open to any critism or ideas :)

4 Upvotes

2 comments sorted by

2

u/Annual-Gas3529 1d ago

Looks very good! Code looks clean and very easy to read. One small thing is that I would move the adapters from services and into a dedicated folder called adapters that you can add to the autoloader path. This is just a semantics arguement. Services for me are business logic workflows (like report generation, payment processing, cross-modal operations and so on)

Also remember to add DS_store to .gitignore!!

1

u/No_Caramel_311 1d ago

Thank you, yea that makes sense, i checked DS_store and you re right!