Time Tracker
- 2 Devlogs
- 13 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!
Devlog 2 - Long time no see!
This will be the last devlog for this project because the scope is just very small.
I have added an overview page which sorts your your activities based on how much you time you spent on them. There is nothing much to be said about this, its just a simple database query.
In preparation to ship this project I have been polishing the readme and ironing out some bugs. All considered I think it turned out great. It just works.
I think for how small this project was, I gained quite a lot. I have learned the basics of working with a DB, how server and the client communicate, auth, and some TS quirks. I really enjoyed making this!
For whoever read this far, Thank you for giving a f*** :D and have a beautiful day!
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!