4 ms·
> 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 ex
by seanwilson 6y ago
> 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?
- jpohalloran 6y agoTo 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/ https://tina.io/guides/nextjs/github/initial-setup/
- seanwilson 6y agoThanks! How do you secure the backend function and have user authentication though? Do you know what the pricing for this would be on Netlify?