Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aaronksaunders/ionic-vue3-sample-3

Features Included in this Vue 3 Typescript App File Upload, Login / LogOut, Auth Check At Start, Delete Upload Images, Hooks for Authentication and File Storage
https://github.com/aaronksaunders/ionic-vue3-sample-3

capacitor-plugin firebase-auth firebase-database firebase-storage ionic-framework ionic-login ionic-tabs ionic5 ionic5-example vue3-capacitor vue3-composition-api vue3-typescript vuejs-composition-api

Last synced: about 1 month ago
JSON representation

Features Included in this Vue 3 Typescript App File Upload, Login / LogOut, Auth Check At Start, Delete Upload Images, Hooks for Authentication and File Storage

Awesome Lists containing this project

README

        

[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W31U7HM)
### 📺 [IONIC VUE3 VIDEOS](https://www.youtube.com/playlist?list=PL2PY2-9rsgl2uKW0DB5FJ-YRCAG-JuSWN)

# Vue 3 Ionic Capacitor Sample App Using Firebase User Authentication Hook Composition API ( version 3 )
> updated 9/10/2020
> - File Upload
> - Login / LogOut
> - Auth Check At Start
> - Delete Upload Images
> - Hooks for Authentication and File Storage

> - [PART ONE, Capacitor Camera & Geolocations](https://github.com/aaronksaunders/capacitor-vue3-ionicv5-app)
> - [PART TWO, Firebase Integration](https://github.com/aaronksaunders/ionic-vue3-sample-2)
> - [PART THREE, Firebase Integration, Authentication](https://github.com/aaronksaunders/ionic-vue3-sample-3)

### Camera Working In PWA/Website/On Device

- see https://capacitor.ionicframework.com/docs/pwa-elements/









### Using Typescript
- utilizing typescript in composition api functions
- utilizing typescript for all single file components

### Using Firebase For File Upload To Storage
- updated firebase file upload composition api function to upload and list files is storage bucket
- You need to create your own firebase configuration file, to be placed in the hooks directory
```
// .env.firebase.ts
const FIREBASE_CONFIG = {
apiKey: "zebaayDI9wPgYFLRUd_07WB8ZVHPWowFm2w",
authDomain: "fffffff.firebaseapp.com",
databaseURL: "https://fffffff.firebaseio.com",
projectId: "fffffff",
storageBucket: "fffffff.appspot.com",
messagingSenderId: "87HPWowFm2w999",
appId: "1:00000031465:web:53a3bHPWowFm2wc6a38",
measurementId: "G-aSyDI9wPjgY",
};

export default FIREBASE_CONFIG
```

### Using Composition Pattern for Components

### Versions
```
Ionic:

Ionic CLI : 6.11.8-testing.0 (/Users/aaronksaunders/.nvm/versions/node/v13.9.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 5.4.0-dev.202009081429.be01184

Capacitor:

Capacitor CLI : 2.4.0
@capacitor/core : 2.4.0

Utility:

cordova-res (update available: 0.15.1) : 0.11.0
native-run : 1.0.0

System:

NodeJS : v13.9.0 (/Users/aaronksaunders/.nvm/versions/node/v13.9.0/bin/node)
npm : 6.13.7
OS : macOS Catalina

```