Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 17.8 KB

File metadata and controls

17 lines (17 loc) · 17.8 KB
Date Hours Description Todo
30-12-2025 2.5 Project initialization. Setting up Azure for Students account and function app instance. Installing Azure Functions Core Tools. Test "hello world" endpoint. Set up proper GitHub Actions to host a demo endpoint for testing.
31-12-2025 3 Finished workflows for Azure Functions deployment. Set up Web App in Azure Portal for frontend. Setup workflows for frontend. Battled with website visibility issues, found out it was related to start up command in Azure, solved those. Tomorrow start working on authentication. I'm thinking easy auth for now, but not sure yet.
25-01-2025 4 Decided to start working on the frontend instead of figuring out auth before I have some components ready. Added basic nav menu components and hamburger menu + header collapsing for smaller screens, so it's a bit more responsive. Fixed credential issue on Azure side after repo name change. Implemented dark mode. Next probably work on the main content component. Research into how to reduce this crazy inline bloat cause by tailwind.
26-01-2025 1 I got stuck in styling rabbit hole: changed icons for switching themes and created an animation with view transition api. Will probably continue later today! We'll see doesn't seem like I am following a pattern does it?
27-01-2025 2.5 Did a mega refactor since code was becoming spaghetti. Work on the content component now, make some mock data.
28-01-2025 2.5 Organized tailwind themes and separated into files. Refactored inlines into consts that should be more readable. Cn function for tailwind management. New folder structure. Added path alias. Still same as above.
29-01-2025 3.5 Added components for displaying posts on the timeline. Improved responsiveness on smaller devices. Fixed sidebar scroll issue on mobile. We'll see? Continue on frontend? See how to setup Azure SQL DB?
31-01-2025 4.5 Setup Azure SQL Database. Removed hardcoded mock data and moved it to the db. Setup all the things needed to establish a connection: drizzle and azure functions. Used tanstack query for frontend cause I like the simplicity. Did all the devops stuff on Azure Portal: confs, envs. Some refactoring. Setup auth. After some research, Easy Auth seems to be best suited for external identity providers (like Google). So, probably need to add Entra. I could go with classic JTW, but I would rather use this time to learn something new. On the frontend, I still need to build the login and create account UI components.
01-02-2025 3.5 Migrated to Azure DB for PostgreSQL instead. Mainly because: 1. I like it and it has good support for JSON in case I wanna do that, 2. Flexible is cheaper than any Azure SQL DB plan which doesn't have massive cold starts, 3. Drizzle has much better support for PostgreSQL while their MSSQL support is pretty much in beta. Took much longer than I wanted due to lingering global psql conf issues. Some refactoring and figuring out cleaner ways so stuff is more testable. Same as above. Gonna continue from this tomorrow.
04-02-2025 5.5 Looked into Microsoft External Entra ID and how to implement it only to find out that I can't even add external tenants due to being on student plan. I was going to upgrade the plan, but that would also invalidate all the free credits - so opted to just make token auth on my own. On the flipside, I also learned that the other method (Microsoft one) uses token auth regardless, so it would have been same idea, but I would not have had to save and hash passwords. Implemented auth + create user / posts + login. All of this works, but it's not really code I would like to push into git, yet, since a lot could be simplified (e.g. I found out that Drizzle combines well with zod, so working on simplifying that kinda logic). Refactor current code -> then push to git.
05-02-2025 2.5 Finished yesterday's work. There is still some stuff that clearly needs cleaner structure, especially on schema folders. The schema's itself might still need adjustments. I also nuked the DB on Azure's side and setup proper migrations. Look into drizzle schemas and refactor a little bit more, after that, create the frontend components.
06-02-2025 1 Azure functions now use a middleware so the code should be much more readable and maintainable than before. I always find something else I wanna work on, but same as above.
11-02-2025 3.5 Frontend components + logic for login. Refactor tailwind inlines again + move the larger / repeated ones to themes.css Kinda happy with the size of tailwind inlines now. Going to make the registeration component next time.
12-02-2025 1 A bit of refactoring Same as above
Total 40.5