Course Saas Kit
GitHub

GitHub

You can grant access to the codebase when a user purchases your course. To do this, add your GitHub access token to the .env.local file:

GITHUB_ACCESS_TOKEN=your_github_token

This token will allow your application to interact with the GitHub API on behalf of the user. Ensure that the token has the necessary permissions to access the repositories you want to share. Also, remember to keep this token secure as it provides significant access to your GitHub account.