Friendly Pix is a place where you can share photos, follow friends, comment on photos...
To see it in action, have a look at friendly-pix.com
npm installto install all Build/Deploy tools dependencies.
firebase use --addand, when prompted, select the Firebase Project you have just created. This will make sure the Firebase CLI is configured to use your particular project.
firebase functions:config:set mailgun.domain=friendly-pix.com mailgun.key=key-XXXXXXXXXXXXXXXX
You can start a local development server by running:
npm run serve
This will start
Then open http://localhost:5000
Note 1: On new projects, the Realtime Database and Cloud Storage come with default Security rules that prevent all read and writes. You'll need to deploy the security rules and Cloud Functions once first. For this run:
firebase deploy --only database,storage
Note 2: Cloud Functions cannot yet be ran locally. Deploy them once first if you want these features active (such as image and text moderation). For this run:
firebase deploy --only functions
To deploy the app run:
Then this deploys a new version of your code that will be served from
To make a user an admin - allowing him to delete any posts - manually add an entry to
/admins/$index/email: firstname.lastname@example.org. For instance