Skip to content

SiteFellowsJS is a simple JavaScript library to add membership functionality to your website

License

Notifications You must be signed in to change notification settings

luciandinu/sitefellows-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiteFellowsJS

[WIP] SiteFellowsJS is a simple JavaScript library that allows you to easily add membership functionality on a website similar to Memberstack.

https://sitefellows-js.luciandinu.com/

Alpha Stage

Usage

Website head element:

<script>
    const firebaseConfig = {
        //Your Firebase configuration
    };
</script>
<script src="https://sf-js-lib.surge.sh/sitefellows.js" data-site-config="your-site-config.json"></script>

Optionally we can specify a CMS compatibility mode with the data-site-compatibility attribute (currently implemented only sitejet)

...
<script src="https://sf-js-lib.surge.sh/sitefellows.js" data-site-compatibility="sitejet" data-site-config="your-site-config.json"></script>

On protected pages additionally can be added:

<noscript>
    <meta http-equiv="refresh" content="0;url=/examples/simple/" />
</noscript>

Requirements

  • Firebase Authentification - for User Authentification

About

SiteFellowsJS is a simple JavaScript library to add membership functionality to your website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published