Package Exports
- decap-cms-backend-git-gateway
- decap-cms-backend-git-gateway/dist/decap-cms-backend-git-gateway.js
- decap-cms-backend-git-gateway/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (decap-cms-backend-git-gateway) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Git Gateway
Netlify's gateway to hosted git APIs.
Code structure
Implementation
for File Management System API based on Api
.
Api
and Implementation
from backend-github/gitlab/bitbacket extended with Netlify-specific LargeMedia(LFS)
and JWT
auth.
AuthenticationPage
- uses lib-auth and implements Netlify Identity authentication flow.
Look at tests or types for more info.
Debugging
When debugging the CMS with Git Gateway you must:
Have a Netlify site with Git Gateway and Netlify Identity enabled. An easy way to create such a site is to use a template, for example the Gatsby template
Tell the CMS the URL of your Netlify site using a local storage item. To do so:
- Open
http://localhost:8080/
in the browser - Write the below command and press enter:
localStorage.setItem('netlifySiteURL', 'https://yourwebsiteurl.netlify.app/')
- To be sure, you can run this command as well:
localStorage.getItem('netlifySiteURL')
- Refresh the page
- You should be able to log in via your Netlify Identity email/password
- Open