Skip to content

Commit

Permalink
Merge pull request #142 from webceyhan/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
webceyhan authored Sep 14, 2023
2 parents 853a92b + 2665e90 commit 0ea913f
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 1,319 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/firebase.yml

This file was deleted.

1,248 changes: 0 additions & 1,248 deletions .nuxt/dev/index.mjs

This file was deleted.

1 change: 0 additions & 1 deletion .nuxt/dev/index.mjs.map

This file was deleted.

1 change: 0 additions & 1 deletion .nuxt/imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ export { msToDatetime, datetimeToMs } from '../utils/datetime';
export { formatDate, formatNumber, formatCurrency } from '../utils/formatter';
export { getAvgPrice, getBalance, getProfit, getProfitPercent } from '../utils/holding';
export { pipe, priceColor, sortData } from '../utils/misc';
export { useNuxtDevTools } from '../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools';
export { definePageMeta } from '../node_modules/nuxt/dist/pages/runtime/composables';
9 changes: 0 additions & 9 deletions .nuxt/nuxt.json

This file was deleted.

3 changes: 0 additions & 3 deletions .nuxt/types/imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ declare global {
const useModel: typeof import('vue')['useModel']
const useNuxtApp: typeof import('../../node_modules/nuxt/dist/app')['useNuxtApp']
const useNuxtData: typeof import('../../node_modules/nuxt/dist/app')['useNuxtData']
const useNuxtDevTools: typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']
const useRequestEvent: typeof import('../../node_modules/nuxt/dist/app')['useRequestEvent']
const useRequestFetch: typeof import('../../node_modules/nuxt/dist/app')['useRequestFetch']
const useRequestHeaders: typeof import('../../node_modules/nuxt/dist/app')['useRequestHeaders']
Expand Down Expand Up @@ -277,7 +276,6 @@ declare module 'vue' {
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
readonly useNuxtApp: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useNuxtApp']>
readonly useNuxtData: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useNuxtData']>
readonly useNuxtDevTools: UnwrapRef<typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']>
readonly useRequestEvent: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestEvent']>
readonly useRequestFetch: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestFetch']>
readonly useRequestHeaders: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestHeaders']>
Expand Down Expand Up @@ -428,7 +426,6 @@ declare module '@vue/runtime-core' {
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
readonly useNuxtApp: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useNuxtApp']>
readonly useNuxtData: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useNuxtData']>
readonly useNuxtDevTools: UnwrapRef<typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']>
readonly useRequestEvent: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestEvent']>
readonly useRequestFetch: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestFetch']>
readonly useRequestHeaders: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app')['useRequestHeaders']>
Expand Down
2 changes: 0 additions & 2 deletions .nuxt/types/plugins.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ type NuxtAppInjections =
InjectionType<typeof import("../../node_modules/nuxt/dist/head/runtime/plugins/unhead").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/router").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/prefetch.client").default> &
InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.server").default> &
InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.client").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/chunk-reload.client").default> &
InjectionType<typeof import("../../plugins/firebase.client").default>

Expand Down
32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ and subscribe to "Gold, Currency and Exchange API" to obtain your free API key.
4. Rename .env.sample to .env and fill in your config vars.
```sh
# collectapi
VITE_API_KEY="--CollectAPI KEY HERE--"
COLLECT_API_KEY="--CollectAPI KEY HERE--"
# firebase
VITE_FIREBASE_API_KEY="--FIREBASE API KEY HERE--"
VITE_FIREBASE_AUTH_DOMAIN="--FIREBASE AUTH DOMAIN HERE--"
VITE_FIREBASE_PROJECT_ID="--FIREBASE PROJECT ID HERE--"
VITE_FIREBASE_STORAGE_BUCKET="--FIREBASE STORAGE BUCKET HERE--"
VITE_FIREBASE_MESSAGING_SENDER_ID="--FIREBASE MESSAGING SENDER ID HERE--"
VITE_FIREBASE_APP_ID="--FIREBASE APP ID HERE--"
NUXT_PUBLIC_FIREBASE_API_KEY="--FIREBASE API KEY HERE--"
NUXT_PUBLIC_FIREBASE_AUTH_DOMAIN="--FIREBASE AUTH DOMAIN HERE--"
NUXT_PUBLIC_FIREBASE_PROJECT_ID="--FIREBASE PROJECT ID HERE--"
NUXT_PUBLIC_FIREBASE_STORAGE_BUCKET="--FIREBASE STORAGE BUCKET HERE--"
NUXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="--FIREBASE MESSAGING SENDER ID HERE--"
NUXT_PUBLIC_FIREBASE_APP_ID="--FIREBASE APP ID HERE--"
```

<br>
Expand Down Expand Up @@ -161,13 +161,13 @@ A GitHub Action will automatically deploy the project to Firebase on every push.

4. Set the following secrets on your GitHub repository:
```yaml
VITE_API_KEY
VITE_FIREBASE_API_KEY
VITE_FIREBASE_APP_ID
VITE_FIREBASE_AUTH_DOMAIN
VITE_FIREBASE_MESSAGING_SENDER_ID
VITE_FIREBASE_PROJECT_ID
VITE_FIREBASE_STORAGE_BUCKET
COLLECT_API_KEY
NUXT_PUBLIC_FIREBASE_API_KEY
NUXT_PUBLIC_FIREBASE_APP_ID
NUXT_PUBLIC_FIREBASE_AUTH_DOMAIN
NUXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID
NUXT_PUBLIC_FIREBASE_PROJECT_ID
NUXT_PUBLIC_FIREBASE_STORAGE_BUCKET
```

<br>
Expand All @@ -183,8 +183,6 @@ A GitHub Action will automatically deploy the project to Firebase on every push.
- [Firebase CLI](https://firebase.google.com/docs/cli)
- [Firebase Auth](https://firebase.google.com/docs/auth)
- [Firestore](https://firebase.google.com/docs/firestore)
- [Vercel](https://vercel.com/)
- [GitHub Actions](https://docs.github.com/en/actions)
- [Firebase](https://firebase.google.com/)
- [Firebase Hosting](https://firebase.google.com/docs/hosting/)
- [action-hosting-deploy](https://github.com/FirebaseExtended/action-hosting-deploy)
- [CollectAPI](https://collectapi.com/)
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@nuxt/devtools": "latest",
"@nuxtjs/tailwindcss": "^6.8.0",
"@types/node": "^18.17.3",
"bootstrap-icons": "^1.10.5",
"daisyui": "^3.6.4",
"bootstrap-icons": "^1.11.0",
"daisyui": "^3.7.4",
"firebase": "^10.3.1",
"nuxt": "^3.6.5",
"typescript": "^5.2.2"
Expand Down

0 comments on commit 0ea913f

Please sign in to comment.