Shopperino is a collaborative shopping list web app.
-
Create a new Firebase project and register a new web app by following steps 1 and 2 of Firebase setup guide. Remember to set up Firebase hosting as well. Skip adding Firebase SDK and deploying for now.
-
Duplicate
.env.example
as.env
and edit in your details. Config can be found in the Firebase SDK snippet section of Firebase console's project settings. Firebase token can be generated withfirebase login:ci
. -
In the Firebase console's project settings, choose a public-facing name and a support email.
-
In the Firebase console's database section, create a new database in production mode.
-
In the Firebase console's authentication section, set up a sign-in method for Google sign-in.
-
Login with
firebase-cli
and initialize a new Firebase project:firebase login firebase init
-
Select Firestore and Hosting. Use the default options. Don't overwrite
firestore.rules
orfirestore.indexes.json
when prompted. Usebuild
as the public directory and configure the app as single-page app. Don't overwritepublic/index.html
. -
Install dependencies:
npm install
-
When developing locally use
npm run start
to spin up development environment ornpm run test
to start interactive test runner. -
To deploy the app to Firebase, run:
npm run build firebase deploy
This project is open source software licensed under the MIT license. For more information see LICENSE.