Skip to content

Commit

Permalink
refactor: add .env
Browse files Browse the repository at this point in the history
  • Loading branch information
zameji committed Jul 9, 2024
1 parent ce5e992 commit fcd6aaf
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 257 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
node_modules
frontend/dist


# local env files
.env.local
.env.*.local
*/.env
.env

# Log files
npm-debug.log*
Expand Down
6 changes: 6 additions & 0 deletions frontend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VITE_VUE_APP_FIREBASE_API_KEY=
VITE_VUE_APP_FIREBASE_AUTH_DOMAIN=
VITE_VUE_APP_FIREBASE_PROJECT_ID=
VITE_VUE_APP_FIREBASE_STORAGE_BUCKET=
VITE_VUE_APP_FIREBASE_MESSAGING_SENDER_ID=
VITE_VUE_APP_FIREBASE_APP_ID=
424 changes: 170 additions & 254 deletions frontend/src/auto-imports.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/src/components/FirebaseLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as firebaseui from "firebaseui";
// Default styles import from gstatic which may be legally problematic in EU
import "@/styles/firebaseui.override.css";
import "firebase/compat/auth";
import { firebaseConfig } from "@/services/firebase";
import { firebaseConfig } from "@/services/firebase.service";
import { useAppStore } from "@/stores/app";
import { onMounted } from "vue";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion frontend/src/stores/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { defineStore } from "pinia";
import firebase from "firebase/compat/app";
import "firebase/compat/auth";
import { firebaseFirestore } from "../services/firebase";
import { firebaseFirestore } from "../services/firebase.service";
import {
collection,
addDoc,
Expand Down

0 comments on commit fcd6aaf

Please sign in to comment.