Skip to content
/ QuizIt Public

a react, redux, react-router, socket.io and firebase quiz app :)

Notifications You must be signed in to change notification settings

YogiHa/QuizIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When firebase, react, redux, react-router and socket.io are BFF :)

for running on your local-machine -

  1. clone this repo

  2. add a firestore credentials to src/config/FBConfig. open firebase console, register a new web-app ("spark" plan is totally free! :) ) and copy the credentials, its should look something like that:

    {

    var firebaseConfig = {

     apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
     
     authDomain: "quizit.firebaseapp.com",
     
     databaseURL: "https://quizit.firebaseio.com",
     
     projectId: "quizit",
     
     storageBucket: "quizit.appspot.com",
     
     messagingSenderId: "1234567890",
     
     appId: "1:123456789:web:not123to456be"
     
     };
    

    }

    default fire-store bucket that used for saving imgs (quizzes logos and inside questions photos) not always clarify, if adding "storeageBucket" value manually isnt solve your problem, check:

    https://stackoverflow.com/questions/41352150/typeerror-firebase-storage-is-not-a-function

 {
   $ cd quizit/server

   $ npm install

   $ npm start
  }
  

4. on new terminal


   {
   	$ cd quizit

   	$ npm install

   	$ npm start
   }

About

a react, redux, react-router, socket.io and firebase quiz app :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published