Time Tracker
- 1 Devlogs
- 7 Total hours
This is a simple time tracker built mainly for my friend but you're welcome to use it!
This is a simple time tracker built mainly for my friend but you're welcome to use it!
What a 7h this was :D
I started simple with making the UI. For now the UI is pretty simple. Just a timer, acitivity selection and a add activity input.
I wanted the app to be usable for more users at once on multiple devices. This is sadly not possible to do with a simple cookie based data storage, so I had to implement an account system with a database. This proved to be pretty difficult as I never did such a thing. The Auth was simple enough, I found a YouTube tutorial for that and all went well. I decided to go for OAuth with GH, as it was pretty simple. I will probably expand this in the future :).
Oh the db… It was not enjoyable to setup. I went with Prisma to handle the difficult stuff for me, but still, the setup was not smooth. Somehow I think I hit like everything that could go wrong :D But in the end I somehow set it up. Using the db itself for storing and retrieving data is really good and intuitive. So that’s nice.
Next I plan to refine the UI (right now you have to refresh every time you add/remove/change active activity), add some profile page, add login page and add some overview for the tracked activities!