News for hackers. Stuff that matters.
Re:TinaCMS: A toolkit for building visual editing into your ... by seanwilson on Thursday March 25, 2021 @03:45PM (#26584529)
> 1. Git-first. The filesystem can be a database for your content.

To set TinaCMS to commit to GitHub on edit, what's the minimum you need to do in terms of extra hosting requirements?

Re:TinaCMS: A toolkit for building visual editing into your ... by jpohalloran on Thursday March 25, 2021 @04:37PM (#26585067)
To setup the GitHub integration, you will need to setup a GitHub App for authentication. You'll need to reference the GitHub App's secret within your implementation, so you'll need a backend function. Vercel & Netlify make it really easy to to do with with their API functions.

There's a guide here showing how to set up GitHub on a NextJS site (and eventually hosting on Vercel): https://tina.io/guides/nextjs/github/initial-setup/

Re:TinaCMS: A toolkit for building visual editing into your ... by seanwilson on Friday March 26, 2021 @11:58AM (#26593618)
Thanks! How do you secure the backend function and have user authentication though? Do you know what the pricing for this would be on Netlify?