-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md
57 lines (41 loc) · 1.13 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# devfestwestern_firebase
This is a simple Vue app which includes a presentation on Firebase with Web.
The project also includes a simple demo on Firebase AUth, Cloud Messaging, Hosting etc ...
#### #devFest18 #devfestWesternKenya #twendeDevfestKisumu
## Project setup
```
npm install
```
### Create your `.env`
```
cp .env.example .env
```
## Fill in your `.env` values from Firebase
```
VUE_APP_FIREBASE_API_KEY=
VUE_APP_FIREBASE_APP_ID=
VUE_APP_FIREBASE_MESSAGE_ID=
VUE_APP_FIREBASE_PUBLIC_KEY=
VUE_APP_SERVER_KEY=
VUE_APP_MESSAGING_TOPIC=all
```
#### [Firebase Console](https://console.firebase.google.com/) Create your project, Web Option and get your credentials from `config` tab
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
#### Firestore BD structure
![image](https://devfest-11a68.firebaseapp.com/assets/images/db.png)
## Credits
### [droidConKE](https://droidcon.co.ke)
### [Apps:Lab KE](https://appslab.co.ke)
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).