marchbox/monorail

Implement comment system

Opened this issue · 0 comments

Workflow:

  1. Use Netlify Forms to collect comment submissions
    • Use Ajax form for better UX but make sure non-JS works, too
    • Should mention that all comments become public upon approval. If they want to contact me directly, go to the Contact link.
  2. Use Netlify Functions to set up a Scheduled Background Function:
    • This function checks all the verified comment submissions
    • Uses https://github.com/octokit/octokit.js to create a pull request to send comments to GitHub
    • Run this function at 9 AM everyday
  3. Me review the pull request, approve to merge into mainstreet
  4. Netlify rebuild, comments display
  • Make some fun idea with avatar?