Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
killshotxd committed Oct 12, 2023
0 parents commit 9d362e9
Show file tree
Hide file tree
Showing 39 changed files with 26,986 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
env
.env
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
27 changes: 27 additions & 0 deletions Firebase.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
import { getStorage } from "firebase/storage";
// 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: import.meta.env.VITE_FIRE_API_KEY,
authDomain: import.meta.env.VITE_FIRE_AUTH_DOM,
projectId: import.meta.env.VITE_FIRE_PRJ_ID,
storageBucket: import.meta.env.VITE_FIRE_STG_BKT,
messagingSenderId: import.meta.env.VITE_FIRE_MSG_ID,
appId: import.meta.env.VITE_FIRE_APP_ID,
measurementId: import.meta.env.VITE_FIRE_MESG_ID,
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const db = getFirestore(app);
export const storage = getStorage(app);
const analytics = getAnalytics(app);
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
54 changes: 54 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
type="image/svg+xml"
href="/src/assets/invoice_106601.ico"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="title" content="School Inventory Management " />
<!-- <meta
name="description"
content="Invoice pro is best invoice generation tool available online. Invoice generation was never this easy. Opt out for our free invoice generation service."
/>
<meta
name="keywords"
content="invoice,invoice tool,invoice service, business invoice,delivery challan,Invoice tool,generate free invoice"
/> -->
<!-- <meta name="robots" content="index, follow" /> -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<!-- <meta
property="og:url"
content="https://shine-computers-invoice.vercel.app/"
/> -->
<meta property="og:title" content="School Inventory Management" />
<!-- <meta
property="og:description"
content="Invoice pro is best invoice generation tool available online. Invoice generation was never this easy. Opt out for our free invoice generation service."
/> -->
<meta property="og:image" content="/src/assets/invoice_106601.ico" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<!-- <meta
property="twitter:url"
content="https://shine-computers-invoice.vercel.app/"
/> -->
<meta property="twitter:title" content="School Inventory Management" />
<!-- <meta
property="twitter:description"
content="Invoice pro is best invoice generation tool available online. Invoice generation was never this easy. Opt out for our free invoice generation service."
/> -->
<meta property="twitter:image" content="/src/assets/invoice_106601.ico" />
<title>School Inventory Management</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit 9d362e9

Please sign in to comment.