Skip to content

matzienski/tonbeleg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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">

About

Datenspende-App für Tonbelege

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 63.2%
  • TypeScript 23.7%
  • CSS 6.8%
  • JavaScript 3.7%
  • HTML 2.6%