/qwitter

A Cross-Platrom Twitter Clone created with VueJS, Firebase and Quasar Framework,

Primary LanguageVueMIT LicenseMIT

English | 简体中文

Qwitter (qwitter)

A Cross-Platrom Twitter Clone created with Quasar Framework, VueJS & Firebase Project finished products that can be generated:

  • SPA
  • PC desktop application —— Electron
  • Mobile APP —— Cordova(Android/IOS)
  • ...

Setup Firebase

  • Create a new Firebase project named Qwitter
  • Create a Web App named Qwitter
  • Copy the config from the code sample that appears and add it to src/boot/firebase.js
    • [Option] Replace your apiKey in .env.sample, and rename .env.sample to .env
  • Create a Cloud Firestore database - make sure you choose "Start in test mode"

Install the dependencies

npm install

Web Version

Start in development mode

quasar dev

Build for production

quasar build

Desktop Version (Electron)

Start in development mode

quasar dev -m electron

Build for production

To build for different platforms, change the electron > packager > platform setting in quasar.conf.js to win32, darwin, mas or linux

quasar build -m electron

iOS Version (Cordova)

Install Cordova globally

npm install -g cordova

or

sudo npm install -g cordova

Install Xcode

Install Xcode

Start in development mode

quasar dev -m cordova -T ios

Start on other Simulator Devices

cd src-cordova
cordova run ios --list
cd ..
quasar dev -m cordova -T ios -e "iPhone-12, 14.3"

Build for production

quasar build -m cordova -T ios

Android Version (Cordova)

Install Cordova globally

npm install -g cordova

or

sudo npm install -g cordova

Follow all steps on Quasar site

Follow all steps on Quasar site

Launch Android Virtual Device

Android Studio > Configure > AVD Manager > Launch an AVD

Start in development mode

quasar dev -m cordova -T android

Build for production

quasar build -m cordova -T android