This is yet another collaboration software.
- Git clone this repository
- Run "npm install firebase-tools -g" to install firebase tools.
- Run "npm install" once to get necessary node modules.
- Run "npm install" once in the functions directory as well.
- Open the firebase console (from https://firebase.google.com) and add a project
- From the dashboard of this project, add an app and choose "web" (</>).
- From the setting of this app, choose "Config" (in Firebase SDK snippet)
- Copy the config file, and paste into src/config.js file.
- Replace the word "skelton-us" in .firebaserc file with your Firebase project name.
- Open the firebase console, and create a Cloud Firestore (make it "secure" for now).
Enable IAM (https://console.cloud.google.com/apis/library/iam.googleapis.com?project=???) https://stackoverflow.com/questions/56616399/firebase-admin-auth-createcustomtoken-letting-the-admin-sdk-discover-a-servic
In the project directory, you can run:
Use "e-groups" project
Use "e-group-jp" project
Use "e-groups-staging" project
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Deploys the app to the Firebase cloud. You need to run "npm run build" before the deployment.
Install firestore emulator
firebase setup:emulators:firestore
Run firestore emulator
firebase serve --only firestore
Run firestore test
npm run mocha
npm run babel