My Development Notes
These are my thoughts, learnings, and code snippets from my journey as a developer.

Calculation based in indication
After 2 days resting, today i have changed the Calculation logic.
Now after drug selection, you need to specify the indication you need or you can select the general dosing too.
Also, i have added the onboarding pages to the app lunch.
BOOM!
Are you using Iphone? i got you π«Άπ»π!
1.1.3 Ξ² release is finally out for "IOS"!
2. go to the Featured Projects section
3. Click on the App store icon to redirect to the app ‡
4. La La. Now you can install it in you screen and use the app.
If you don't have a account, contact me.
Otherwise YOU'R WELOCME π
1.1.3 Ξ² release is finally out π!
After some debugin, i finally solve the token bug and it dosent need a relogin after 15 min
Also have some changes :
1. Background color changes -> i make the light theme a bit lighter and also the dark theme a bit darker
2. I also added the theme saved seesion to the app, now after restartin the app, you don't need to set the theme if you have selected the dark theme
IN next version:
1. I try to set each account to login in one device only
2. Update the drugs
Beta 1.1 release is here!
How ever there is a majot bug which is "TOKEN REFRESH" and "TOKEN EXPIRE" issue which is only 30 min after the each login.
I don't know how to handle that. I've tested more than one way but all of them is not a solution So i started to learn about the "TOKEN REFRESH"
Preparing the Server for the back-end
Today, i bought a sever from Parspack. SO after testing the server i can't login to the root
However after contacting to the provider, they fixed the issue immeditly. so i run the fast api backend on the server and lala, now it's working fully functional
Solving some issues
There was some issue in th UI part, So i fixed them. it's cool right now. I am heading to lunch in a few days.
Optimizing Database Queries
I've been working on optimizing database queries for the Nerds book shop project. Found that adding proper indexes improved query performance by over 200%!
Key takeaways:
1. Always index columns used in WHERE clauses
2. Composite indexes can be more efficient than multiple single-column indexes
3. EXPLAIN ANALYZE is your best friend for understanding query execution plans
Next step: Implement query caching to further improve performance for frequently accessed data.