Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# API Configuration
REACT_APP_API_URL=http://localhost:3001/api

# App Configuration
REACT_APP_NAME=Enterprise Dashboard
REACT_APP_VERSION=1.0.0

# Features
REACT_APP_ENABLE_AUTH=true
REACT_APP_ENABLE_NOTIFICATIONS=false

# Other
REACT_APP_ENVIRONMENT=development
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "admin-dashboard-d8efe"
}
}
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"arrowParens": "always",
"endOfLine": "lf"
}
10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
20 changes: 14 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Material Tailwind Dashboard React - v2.1.0
* Dashboard - v2.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/material-tailwind-dashboard-react
* Copyright 2023 Creative Tim (https://www.creative-tim.com)
Expand All @@ -9,13 +9,13 @@
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-->
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/img/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Material Tailwind Dashboard React | By Creative Tim</title>
<title>Dashboard | By Creative Tim</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap"
rel="stylesheet"
Expand All @@ -27,11 +27,19 @@
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>

<script
defer
data-site="YOUR_DOMAIN_HERE"
src="https://api.nepcha.com/js/nepcha-analytics.js"
></script>

<!-- Nepcha Analytics (nepcha.com) -->
<!-- Nepcha is a easy-to-use web analytics. No cookies and fully compliant with GDPR, CCPA and PECR. -->
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>
<script
defer
data-site="YOUR_DOMAIN_HERE"
src="https://api.nepcha.com/js/nepcha-analytics.js"
></script>
</head>
<body>
<div id="root"></div>
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"preview": "vite preview"
},
"dependencies": {
"@heroicons/react": "2.0.18",
"@material-tailwind/react": "2.1.4",
"@heroicons/react": "^2.0.18",
"@material-tailwind/react": "^2.1.4",
"apexcharts": "3.44.0",
"prop-types": "15.8.1",
"firebase": "^12.7.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-apexcharts": "1.4.1",
"react-dom": "18.2.0",
"react-router-dom": "6.17.0"
"react-router-dom": "^6.17.0"
},
"devDependencies": {
"@types/react": "18.2.31",
Expand All @@ -29,4 +30,4 @@
"tailwindcss": "3.3.4",
"vite": "4.5.0"
}
}
}
3 changes: 0 additions & 3 deletions public/css/tailwind.css

This file was deleted.

Loading