Progress

3rd May 2023: Been some time now since I worked on this project. The primary website is going to be built on Astro and the deployment pages including the dashboard will be done on NextJS and Vercel. I just want this website to be blazing fast.
17th April 2023: This update is coming from Notion. The updates are to be triggered as of now but soon they will be running automatically.
16th April 2023: I have decided to use NextJS and Vercel to deploy the project. Building static builds using Astro is too much hassle. The customer who get more than a million requests per month will be helped in this via changing the codebase to static build using Astro. Shaving a few 100ms matters to people who have a lot of traffic and not the average joe like me. I have also thought about building a telegram bot to clear the cache and fetch new content from Notion as a premium feature. This would help service prioritise certain requests which require immediate attention and skip the queue for the usual corn which updates stuff when it deems fit. Cloudflare Queues will be used here to further update data if an update is found. Let’s do it.
15th April 2023: This is coming from notion and the test is to see if this page can be rendered on our platform or not. I have written the API to fetch data from Notion and store it in SQL along with KV. Though KV is redundant as builds are created at build time and the difference between the two shouldn’t matter. At times I like the way I think. A corn job to fetch the concerned database from Notion is also on cards today. This means that the last updated time of the pages database will be stored in the database to check for any updates. In case there’s a change, data will be fetched from Notion and a build will be sent out. While I am thinking out loud about it, I guess this would also create trouble in a way. Imagine typing content and my service just pushing things onto the platform because it is seeing updates. Ideal way should be to have a publish button on the dashboard which will publish everything in one go.
14th April 2023 : The whole platform is now running dynamically using APIs that have been deployed over Cloudflare network. Have created a logic to trigger remote build incase of content change. This will fetch fresh data from the server, create a build and purge Cloudflare cache. Earlier this was done manually and felt too much time was being wasted just clicking buttons and toggling between pages. The response to these requests is being sent on Telegram so that I am always aware as to what is happening.
13th April 2023 : Domain registered and deployed on Cloudflare. Version 1.0.0 has been started with Astro and Tailwind. I am using Uncut Sans as the primary font as it looks crisp. Using a page rule to cache everything to make pages faster. Have to write another page rule to remove the trailing slash on Cloudflare that's breaking the highlight url functionality. It works on localhost though. As a rule, everyday updates will be written here and version will be incremented.