Event scheduler build with Firebase. See the preview here.
- Google account with a Firebase project
- Firebase project must have enabled Google sign-in method in Authentication (how?)
- Firebase project must have created a Cloud Firestore database with rules allowing third party read and write (how?)
- Node.js and npm with Firebase CLI installed, if you haven't then install it by running this command
npm i -g firebase-tools
- Make a copy of this repository then move to that folder
npx degit daflh/skeduler skeduler
cd skeduler
- Login to Firebase CLI with your Google account
firebase login
- Set an active Firebase project for this folder
firebase use --add
- Go to
public/js/main.js
file then change theconfig
variable with your Firebase app configuration (?)
// change this variable
const config = {
apiKey: "YOUR_FIREBASE_API_KEY",
authDomain: "example.firebaseapp.com",
databaseURL: "https://example.firebaseio.com",
projectId: "example",
storageBucket: "example.appspot.com",
messagingSenderId: "123456789012",
appId: "YOUR_FIREBASE_APP_ID"
};
- You're done! Now you can start a local server
firebase serve
firebase deploy