scott-fryxell / sign-up

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

Clone and install

From your favorite terminal

git clone https://github.com/scott-fryxell/sign-up

cd web

yarn install

Configure firebase

Add a project from the firebase console. Bear in mind that the name you give your project will be it's url

https://${project-name}.web.app

Once your project is created you will want to enable phone authentication and file storage.

Enable phone authentication

  • Click getting started from the authentication screen

  • Edit the configuration for phone

  • Enable and save

Deploy to firebase

Install firebase-tools, login, and deploy

yarn global add firebase-tools

firebase login

yarn deploy

DONE!

Visit https://${project-name}.web.app.

local Dev setup

create an .env.local file at the root of your project

visit your projects settings from withing the firebase console

VUE_APP_API_KEY= VUE_APP_AUTH_DOMAIN= VUE_APP_DATABASE_URL= VUE_APP_PROJECT_ID= VUE_APP_STORAGE_BUCKET= VUE_APP_MESSAGING_SENDER_ID= VUE_APP_APP_ID=

Testing

yarn test will run all your tests yarn test --coverage will run all your tests and give you coverage data

lint

yarn lint

deploy

yarn deploy will lint test build and deploy your application to firbase

About


Languages

Language:JavaScript 41.8%Language:Stylus 30.8%Language:Vue 23.6%Language:HTML 3.8%