Openpoll is a free, open-source, live polling app that can be used to interact with groups of people in a recurring manner.
- create a firebase project
- add a web app to the project
- copy the proper firebase credentials into the .env file based on .env.example into the app/op-next directory
- add the firebase realtime database
- add the firebase firestore database
- add the firebase authentication service
- enable google authentication
- navigate to authentication settings and authorize any domains that will be used to access the app
- add firebase functions
- update /functions/.firebasesrc to point to your firebase project
- deploy the app to a hosting service
- ensure the hosting service is authorized in the firebase authentication settings
- ensure the hosting service has the required environment variables set
- ensure you have the following installed:
- node.js
- npm / yarn / {package manager of choice}
- firebase cli
- clone the repository
- follow any steps in running an instance of openpoll to set up the firebase project
/openpoll $ yarn install
/openpoll $ yarn dev
- /app
- /op-expo
- /op-next
- /components
- /context
- /forms
- /layout
- /pages
- /public
- /redirect
- /styles
- /ui .env
- /firebase
- /functions
- /src
- /lib
- /functions
- /packages
- /models
- /utils
- /config
- /validation