Skip to content

cdeng/angularfire-survey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survey App based on AngularFire

  • An open source online survey tool.
  • Based on AngularFire, AngularJS, Bootstrap and Firebase.
  • Easy to set up without worrying about server code.
  • To see what has changed in recent versions of AngularFire-Survey, see the CHANGELOG.

Demo

Dependencies

Configuration

  • Please configure Firebase URL in app/js/config.js before running.
// your Firebase URL goes here
var config = {
    apiKey: "AIzaSyAVCmE0CaAntEeB7p3Up9L990FGHnO11_E",
    authDomain: "angularfire-survey.firebaseapp.com",
    databaseURL: "https://angularfire-survey.firebaseio.com",
    storageBucket: "angularfire-survey.appspot.com",
    messagingSenderId: "204946184892"
};
  • Set up Email/Password authentication in Firebase.

    • Log in to Firebase console, open the Auth section
    • On the Sign in method tab, enable the Email/password sign-in method and click Save.
    • Add email and password to Users tab
  • Replace line 80 & 81 in app/js/controller.js with your own credentials you just set up.

$scope.email = "admin@mydomain.com";
$scope.password = "password";

Contributing

  1. Fork it ( https://github.com/cdeng/angularFire-survey/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

Code released under the MIT license.