-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
404.html,1686147406388,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa | ||
favicon.ico,1686136053750,200074151bc199b41275dd7d97c9d13fba4c3add5a6730c6d77e0d9599d45102 | ||
typescript-original.svg,1686136053766,df9a756c8227befde614b94284271007870be11deeabff25013e636089b88394 | ||
vite.svg,1686136053766,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a | ||
assets/bscpe-store.png,1686136053734,27857a28bd9c70f60d9f8922565969be12dce929631d5cafafda5faecd91d7c2 | ||
assets/mock-adazolhub-shop-01.png,1686136053734,e75e64d4858c0fc75b473d9466146b41aa09f96c25639787cf48d9447f1a185d | ||
assets/mock-adazolhub-shop-02.png,1686136053750,0d3dccf46255da31c08d7b0fc0631ed8220fe6cb4ef995596609f1c93347fe47 | ||
assets/winners-circle.png,1686136053750,9427e924f4785ee161fac8cb87f099ba1cee838dccba878f2332a28c2d7bdffe | ||
images/1484.gif,1686136053750,bdbce5654ca97d21a79f6cf22d1c6545e2e5e91ef2f90ccf97c69a2bb1021ab6 | ||
images/discord-bot-integration.png,1686136053750,5cce742049a295507a0f6f3af308b53f0f35f3917bf51cea54abae70b772be16 | ||
images/mock-01.png,1686136053750,9e60500ba656ee5bd1020499e217578f38c472ee13cf8a4fa68290f2f0374b48 | ||
images/mock-02.png,1686136053750,03e21500ea436819139ae724015004dd56a73ab86d23f83cd7eb1c12c32f3497 | ||
images/mock-03.png,1686136053750,b7eb375cb8acd0994188d9a56a0538c2eb66575fd235e84fd5e53e7e4701bfab | ||
images/mock-04.png,1686136053763,6741dcd4ca7cbc3daf747b9924da22141653f3cd530909c1ca7ee44afe42b55b | ||
images/profile-pic.png,1686136053766,fd8456e472337178d7ecfc91fd28ea9159107bd0a3a4fd4991108d63be1a9247 | ||
images/programming-language.png,1686136053766,b2f2c34d8e3eb40e136559c7cf789032210f7f4c8e150254f6655a4af0f3c138 | ||
images/ux-design-tools.png,1686136053766,4a1dc23a4003368e7a691332360faba910680108a64a3dc07d5d2c18c3265f6e | ||
images/web-app-skeleton.png,1686136053766,a988f2309f5b7739ab6f61e1ddcd0b073a2a13709a35f749fef7be38756a7fbc | ||
index.html,1686147709532,1e2c0dc23e7e48a144405530022d3b9c435d1e053bfad25bcde996108815e624 | ||
assets/index.caa7ef83.js,1686147709532,a47baca4032dade4f91ccf4683cc7d91bedd9b69615eb10be37a7a820129e916 | ||
assets/contact.0fc76f04.js,1686147709532,41f0e7b2aca25d0461254486edea0e1ae1f8a49ba9e2aa3de5653f82638a8d23 | ||
assets/learning.24e297c1.js,1686147709532,fc4e7f28a32a444c8466f15d8bd51973c7e9a5e847a547e6a315454ab1be73eb | ||
assets/projects.18a31f65.js,1686147709532,4c27f9826731cc06cd13dfce9628c104ca23c352a0e77a6148cd22631afd2981 | ||
assets/react.35ef61ed.svg,1686147709532,bac01e3301abbc1151dff31d832a4f7a94dd0251728642933a3b0d6215f5028c | ||
assets/ux-case-study.e0faa071.js,1686147709532,8d64cbb1f4459afc0ec64cb629521ba76ccb597b4800398da290fc656eb67ec9 | ||
assets/index.47b8d288.css,1686147709532,fefcf513f2e4df5833ea202a1e334e553633804c0e18a7f88ca39dc53fa09c48 | ||
assets/introduction.f8959560.js,1686147709532,ddb6d08bdd64b1109f45a22dd11e049a0965908353c648cb83b763e22c4f162d | ||
assets/index.1722c0d7.js,1686147709532,ac9a93d216427b011dfa45901d2157544707f53754f2a476587c24f3e15b4b35 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "daniel-lozada" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,3 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
/src/api | ||
.firebase | ||
firebase.json | ||
.firebaserc |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"hosting": { | ||
"public": "public", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
] | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Import the functions you need from the SDKs you need | ||
import { initializeApp } from "firebase/app"; | ||
import { | ||
collection, | ||
DocumentData, | ||
getDoc, | ||
getDocs, | ||
getFirestore, | ||
limit, | ||
query, | ||
QuerySnapshot, | ||
} from "firebase/firestore/lite"; | ||
// TODO: Add SDKs for Firebase products that you want to use | ||
// https://firebase.google.com/docs/web/setup#available-libraries | ||
|
||
// Your web app's Firebase configuration | ||
// For Firebase JS SDK v7.20.0 and later, measurementId is optional | ||
const firebaseConfig = { | ||
apiKey: "AIzaSyDK8IZ-MNspBOOJ_S7k35HbDU2Q92HFiS8", | ||
authDomain: "bscpe-store-v2.firebaseapp.com", | ||
databaseURL: | ||
"https://bscpe-store-v2-default-rtdb.asia-southeast1.firebasedatabase.app", | ||
projectId: "bscpe-store-v2", | ||
storageBucket: "bscpe-store-v2.appspot.com", | ||
messagingSenderId: "636404332362", | ||
appId: "1:636404332362:web:f4f7cc1bb6bbe66c3633b3", | ||
measurementId: "G-7LSYK1Y8L6", | ||
}; | ||
|
||
// Initialize Firebase | ||
const app = initializeApp(firebaseConfig); | ||
const db = getFirestore(); | ||
|
||
const productCollection = collection(db, "products"); | ||
|
||
export const queryDocument = async () => { | ||
const docQuery = query(productCollection, limit(5)); | ||
const querySnapshot = await getDocs(docQuery); | ||
console.log("fetching..."); | ||
return querySnapshot.docs.map((res) => res.data()); | ||
}; | ||
|
||
// export const queryDocumentRealtime = () => { | ||
// const docQuery = query(productCollection, limit(10)); | ||
// let data : DocumentData; | ||
// onSnapshot(docQuery, (querySnapshot) => { | ||
// data = querySnapshot.docs.map((res) => res.data()); | ||
// }); | ||
// }; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// vite.config.ts | ||
import { defineConfig } from "vite"; | ||
import react from "@vitejs/plugin-react"; | ||
var vite_config_default = defineConfig({ | ||
plugins: [react()] | ||
}); | ||
export { | ||
vite_config_default as default | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxQQ1xcXFxfYWRhem9saHViXFxcXGFkYXpvbGh1Yi1wZXJzb25hbC1wb3J0Zm9saW9cIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkM6XFxcXFVzZXJzXFxcXFBDXFxcXF9hZGF6b2xodWJcXFxcYWRhem9saHViLXBlcnNvbmFsLXBvcnRmb2xpb1xcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vQzovVXNlcnMvUEMvX2FkYXpvbGh1Yi9hZGF6b2xodWItcGVyc29uYWwtcG9ydGZvbGlvL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSBcInZpdGVcIjtcclxuaW1wb3J0IHJlYWN0IGZyb20gXCJAdml0ZWpzL3BsdWdpbi1yZWFjdFwiO1xyXG5cclxuLy8gaHR0cHM6Ly92aXRlanMuZGV2L2NvbmZpZy9cclxuZXhwb3J0IGRlZmF1bHQgZGVmaW5lQ29uZmlnKHtcclxuICBwbHVnaW5zOiBbcmVhY3QoKV0sXHJcbn0pO1xyXG4iXSwKICAibWFwcGluZ3MiOiAiO0FBQXFWLFNBQVMsb0JBQW9CO0FBQ2xYLE9BQU8sV0FBVztBQUdsQixJQUFPLHNCQUFRLGFBQWE7QUFBQSxFQUMxQixTQUFTLENBQUMsTUFBTSxDQUFDO0FBQ25CLENBQUM7IiwKICAibmFtZXMiOiBbXQp9Cg== |