Giter VIP home page Giter VIP logo

tonbeleg's Introduction

DELETE THIS LATER

Files to change

  • package.json, the name of the repo
  • capacitor.config.ts, the appName
  • src/backend/firebase-config.ts, the Firebase Auth settings
  • .github/workflows/**, run firebase init hosting:github again
  • vue.config.ts

(Working Title)

Problem Analysis (UX)

Persona

User Story

Selling Point

Getting Started

Firebase Credentials

Create the file .env.local and add the firebase configuration (See https://console.firebase.google.com/project/tonbeleg-9a18f/settings/general/web:OTFlNzcyZTYtODJmNi00Y2IwLWExODQtYzViOWIxYWY5N2Zh)

NODE_ENV=local
VUE_APP_APIKEY=TheApiKeyFromFirebase
VUE_APP_AUTHDOMAIN=TheAuthDomainInFirebase
VUE_APP_PROJECTID=TheGCPProjectID
VUE_APP_BUCKETID=TheBucketEndpoint
VUE_APP_MSGSENDID=ThemessagingSenderId
VUE_APP_APPID=TheFirebaseAppID

Start the local development server

yarn install
yarn serve
# ionic serve

Project Information

Project Management

Licence

Firebase Backend

Useful Commands

  • Install Firebase globally on your computer: npm install -g firebase-tools
  • Login into Google/Firebase: firebase login
  • Initialize firebase project: firebase init
  • Deploy web app: yarn deploy

Folders and Files

Git

  • .gitignore

Yarn

  • package.json
  • yarn.lock

Javascript

  • babel.config.js (ES2015)
  • tsconfig.json (TypeScript)
  • .browserslistrc (Browsers)

Unit Testing

  • .eslintrc.js
  • cypress.json
  • jest.config.ts

Firebase

  • .firebaserc
  • firebase.json
  • storage.rules (Storage)
  • firestore.json (FireStore)
  • firestore.indexes.json (FireStore)
  • .github/workflows/firebase-hosting-merge.yml (Deployment)
  • .github/workflows/firebase-hosting-pull-request.yml (Deployment)

Ionic

  • ionic.config.json (UI Components)
  • capacitor.config.ts

Tips & Tricks

Force Cache Refresh

Bump the pwa.assetVersion value up in ./vue.config.js.

Changing the App Name

  • ./vue.config.js: pwa.name value
  • ./public/index.html: <title> tag
  • ./public/index.html: <meta name="apple-mobile-web-app-title" content="My app name">

tonbeleg's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.