Skip to content

Commit dd23a1e

Browse files
committed
Finished app
1 parent 380ab90 commit dd23a1e

38 files changed

+16345
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.DS_Store
2+
.thumbs.db
3+
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
7+
/dist
8+
9+
# Cordova related directories and files
10+
/src-cordova/node_modules
11+
/src-cordova/platforms
12+
/src-cordova/plugins
13+
/src-cordova/www
14+
15+
# Capacitor related directories and files
16+
/src-capacitor/www
17+
/src-capacitor/node_modules
18+
19+
# BEX related directories and files
20+
/src-bex/www
21+
/src-bex/js/core
22+
23+
# Log files
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# Editor directories and files
29+
.idea
30+
*.suo
31+
*.ntvs*
32+
*.njsproj
33+
*.sln

.postcssrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
plugins: [
5+
// to edit target browsers: use "browserslist" field in package.json
6+
require('autoprefixer')
7+
]
8+
}

README.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Qwitter (qwitter)
2+
3+
A Cross-Platrom Twitter Clone created with Quasar Framework, VueJS & Firebase
4+
5+
## Setup Firebase
6+
- Create a new Firebase project named Qwitter
7+
- Create a Web App named Qwitter
8+
- Copy the config from the code sample that appears and add it to src/boot/firebase.js
9+
- Create a Cloud Firestore database - make sure you choose "Start in test mode"
10+
11+
## Install the dependencies
12+
```bash
13+
npm install
14+
```
15+
16+
## Web Version
17+
18+
### Start in development mode
19+
```bash
20+
quasar dev
21+
```
22+
23+
### Build for production
24+
```bash
25+
quasar build
26+
```
27+
28+
## Desktop Version (Electron)
29+
30+
### Start in development mode
31+
```bash
32+
quasar dev -m electron
33+
```
34+
35+
### Build for production
36+
To build for different platforms, change the `electron > packager > platform` setting in `quasar.conf.js` to `win32`, `darwin`, `mas` or `linux`
37+
```bash
38+
quasar build -m electron
39+
```
40+
41+
## iOS Version (Cordova)
42+
43+
### Install Cordova globally
44+
```bash
45+
npm install -g cordova
46+
```
47+
or
48+
```bash
49+
sudo npm install -g cordova
50+
```
51+
52+
### Install Xcode
53+
54+
[Install Xcode](https://developer.apple.com/download/more/)
55+
56+
### Start in development mode
57+
```bash
58+
quasar dev -m cordova -T ios
59+
```
60+
61+
### Build for production
62+
```bash
63+
quasar build -m cordova -T ios
64+
```
65+
66+
## Android Version (Cordova)
67+
68+
### Install Cordova globally
69+
```bash
70+
npm install -g cordova
71+
```
72+
or
73+
```bash
74+
sudo npm install -g cordova
75+
```
76+
77+
### Follow all steps on Quasar site
78+
79+
[Follow all steps on Quasar site](https://quasar.dev/quasar-cli/developing-cordova-apps/preparation#Android-setup)
80+
81+
### Launch Android Virtual Device
82+
Android Studio > Configure > AVD Manager > Launch an AVD
83+
84+
### Start in development mode
85+
```bash
86+
quasar dev -m cordova -T android
87+
```
88+
89+
### Build for production
90+
```bash
91+
quasar build -m cordova -T android
92+
```

babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
module.exports = {
3+
presets: [
4+
'@quasar/babel-preset-app'
5+
]
6+
}

jsconfig.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"src/*": [
6+
"src/*"
7+
],
8+
"app/*": [
9+
"*"
10+
],
11+
"components/*": [
12+
"src/components/*"
13+
],
14+
"layouts/*": [
15+
"src/layouts/*"
16+
],
17+
"pages/*": [
18+
"src/pages/*"
19+
],
20+
"assets/*": [
21+
"src/assets/*"
22+
],
23+
"boot/*": [
24+
"src/boot/*"
25+
],
26+
"vue$": [
27+
"node_modules/vue/dist/vue.esm.js"
28+
]
29+
}
30+
},
31+
"exclude": [
32+
"dist",
33+
".quasar",
34+
"node_modules"
35+
]
36+
}

0 commit comments

Comments
 (0)