Annotator is an Electron app using Firebase for authentication and storage. Create annotated citations (or other records for your db) and push them to Firebase. Configurable for multi-client and offline use.
After cloning, initialize a Firebase project. Define user authentication settings as desired. Retrieve your Firebase project's config for apiKey
, domain, url and id's. Create renderer.js
in the root directory of Annotator, add in config
with your Firebase project's reference:
var config = {
apiKey: "RETRIEVE-FROM-YOUR-FIREBASE-PROJECT",
serviceAccount: "./service-account.json",
authDomain: "RETRIEVE-FROM-YOUR-FIREBASE-PROJECT",
databaseURL: "RETRIEVE-FROM-YOUR-FIREBASE-PROJECT",
projectId: "RETRIEVE-FROM-YOUR-FIREBASE-PROJECT",
storageBucket: "",
messagingSenderId: "RETRIEVE-FROM-YOUR-FIREBASE-PROJECT"
};
firebase.initializeApp(config);
# Install dependencies
npm install
# Run the app
npm start
Note: If you're using Linux Bash for Windows, see this guide or use node
from the command prompt.