Test a simple Firebase notes application with Chai, Mocha and Targaryen.
- Install Node.js
- Create a project on Firebase and note down the Project ID
- Replace the project id in the
.firebasercwith your Project ID - Click Add Firebase to your web app and copy your Initialization Code
- Replace the initialization code in the
environment/config.jswith your Initialization Code - Enable Email/Password & Anonymous sign-in providers in Authentication > SIGN-IN METHOD
- If using Travis CI:
- Create an account on Travis CI and activate your repository
- Execute
npm install -g firebase-toolsfollowed byfirebase login:ci - Add FIREBASE_TOKEN to Settings > Environment Variables
npm install
npm start
npm test
Replace FIREBASE-PROJECT-ID with your Project ID and execute the following command.
export PROJECT=FIREBASE-PROJECT-ID && npm run deploy
Add [deploy] to you git commit message.




