You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

netlify-cms-backend-git-gateway

Package Overview
Dependencies
Maintainers
16
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-cms-backend-git-gateway

Git Gateway backend for Netlify CMS

2.13.1
latest
Source
npm
Version published
Weekly downloads
8.1K
-45.66%
Maintainers
16
Weekly downloads
 
Created
Source

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

Keywords

netlify

FAQs

Package last updated on 08 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts