Work

Guest Comments API

Role

Author

Duration

A few days

Stargazers on GitHub ⭐

Tools Used/Explored

  • Express.js
  • TypeScript
  • Data san­i­ti­za­tion
  • GitHub REST API
  • SendGrid API
  • Docker

Motivation/Idealogy

Comments should be a part of my sta­tic site repos­i­tory and han­dled at the sta­tic site level. This is most per­for­mant and keeps data in one place. There is no API end­point to fetch com­ments as the app does not store any data by it­self, for ex­am­ple, in a data­base.

All op­er­a­tions (well, just the three) in­ter­act with my GitHub repos­i­tory. Currently only GitHub is sup­ported but I may be open to adding sup­port for Gitea in­stances should I switch to such op­tions in the fu­ture and find it a vi­able en­deavor.