DEV Community

Rahat Chowdhury
Rahat Chowdhury

Posted on

The Sylar Project V 0.0.5

New update! I've successfully used Next JS API routes to create a serverless function that handles getting state resources from an Airtable Database instead of serving some local JSON. I left the option to use the local JSON however in case others wish to contribute to other parts of the app and don't need access to Airtable. It was also super nice to see tests pass and build not fail from the GitHub actions checks which are also officially added and updated. An awesome new thing I learned while working on this.

Here is my next major goal: Allow for user-submitted resources. Setting up Airtable was a part of this but here is what I plan to do in the next couple versions of this leading up to my v1 for submission to the hackathon:

  • Make an API route for creating resources - by default they will be in an unapproved state
  • Use Tailwind UI to make things look nicer and build a pleasant-looking form
  • Integrate Zapier so I can get an email notification whenever someone submits on the form and my Airtable database gets updated
  • Create a workflow for myself that lets me quickly look at the email notifications with the resource and approve them if they are appropriate.

Something I've noticed so far with this that I wish I had done with earlier projects: even unfinished it is useable. The first update I put out only had resources for two states and was a very small and simple UI. It still worked and helped people in those states. Now it holds much more and I've already gotten feedback that someone was able to use it to find a resource in their local state. This alone makes this entire project worth it.

To see current progress check it out below! Hoping to have a domain name as well once I do submit.

https://github.com/Rahat-ch/The_Sylar_Project

https://the-sylar-project-6avzk.ondigitalocean.app/

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay