Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
36c8856
added fetch api example
NetbotsDotTech Jun 7, 2024
830689a
Assignment
BasitAli164 Jun 10, 2024
f6b758f
assigment
BasitAli164 Jun 10, 2024
a411c51
Assignment
BasitAli164 Jun 11, 2024
10f3858
added state variable
NetbotsDotTech Jun 28, 2024
51abb20
added state variable
NetbotsDotTech Jun 28, 2024
a66fd16
React works
BasitAli164 Jun 28, 2024
7184234
counterProject
BasitAli164 Jun 29, 2024
decd90f
something done
BasitAli164 Jul 19, 2024
b380ba3
something done new in react
BasitAli164 Jul 28, 2024
e021612
Something done in promis and settimeout
BasitAli164 Jul 29, 2024
6acf760
something done with react by using react router dom
BasitAli164 Aug 2, 2024
2d4f629
added login and register form
NetbotsDotTech Aug 2, 2024
af1d3ee
update menu bar
NetbotsDotTech Aug 2, 2024
93f805b
edit react file
BasitAli164 Aug 2, 2024
b59eac2
also done in react
BasitAli164 Aug 2, 2024
cd0053c
insert Images react3
BasitAli164 Aug 3, 2024
0b7cbf2
work with react app4
BasitAli164 Aug 3, 2024
78e2984
add commponents in react react-4
BasitAli164 Aug 5, 2024
5074b30
Normalize all the line endings
BasitAli164 Aug 6, 2024
1d90282
something add in header secction of react4
BasitAli164 Aug 6, 2024
e330e5d
added data
NetbotsDotTech Aug 6, 2024
a869462
working in react-app 2 make project with fetch api not axios
BasitAli164 Aug 6, 2024
2305ad9
try to make dictionary
BasitAli164 Aug 7, 2024
c3c431a
change api in reactapp 6
BasitAli164 Aug 8, 2024
b866ea1
Props drilling concept
BasitAli164 Aug 8, 2024
ba17354
Make a passwordGenerator in react-6 and bg-changer in react-1
BasitAli164 Aug 12, 2024
ab68ed4
added
NetbotsDotTech Aug 12, 2024
252fc4a
createNewReactApp
BasitAli164 Aug 13, 2024
224e9a3
added multi step formik form
NetbotsDotTech Aug 14, 2024
07e87bb
updated the ui design of stepper form
NetbotsDotTech Aug 16, 2024
c1790df
used formik and yup
BasitAli164 Aug 17, 2024
829e4c9
used material react table in shoping project
BasitAli164 Aug 20, 2024
faf25be
something in project file
BasitAli164 Aug 24, 2024
b32de13
Add new component in react-app8 in shoping Website
BasitAli164 Aug 24, 2024
9517f66
Add a simple js project at 22 august
BasitAli164 Aug 24, 2024
11ec462
Age Calculate Project
BasitAli164 Aug 24, 2024
cc1598b
Note App
BasitAli164 Aug 25, 2024
1586ed5
different Types of Loop in js
BasitAli164 Aug 25, 2024
e24d273
differentLoopsInJs
BasitAli164 Aug 26, 2024
f7dcc2d
StopWatch Porject
BasitAli164 Aug 27, 2024
226b22b
StopWatchApp
BasitAli164 Aug 27, 2024
cdad462
Digital clock App
BasitAli164 Aug 27, 2024
d00dbf8
Gallery Scroll App
BasitAli164 Aug 27, 2024
7da0274
BackgroundColorChanger
BasitAli164 Aug 27, 2024
68cc03e
Practice on Array Method
BasitAli164 Aug 27, 2024
b7bf1c2
Merge branch 'main' of https://github.com/BasitAli164/Web-Dev-Batch-1…
BasitAli164 Aug 28, 2024
5f18644
Body Muscle Calculator BMI app
BasitAli164 Aug 28, 2024
b74a509
Calender Project
BasitAli164 Aug 29, 2024
8ed8b81
Calculator App
BasitAli164 Aug 31, 2024
0040d9b
FirstComponentinProject
BasitAli164 Sep 1, 2024
ba8f041
initial commit
NetbotsDotTech Sep 2, 2024
32d72a0
Merge branch 'NetbotsDotTech:main' into BA-911
BasitAli164 Sep 2, 2024
94571f4
Text to Voice Convertor
BasitAli164 Sep 1, 2024
7b2d820
backend
BasitAli164 Sep 2, 2024
d4826e2
Start backened
BasitAli164 Sep 2, 2024
73f84fc
working on header part in project
BasitAli164 Sep 3, 2024
5d44567
write code with express
BasitAli164 Sep 4, 2024
9858f4c
Make the home page
BasitAli164 Sep 4, 2024
d18d9dd
configure env
NetbotsDotTech Sep 6, 2024
35e574d
Merge branch 'NetbotsDotTech:main' into BA-911
BasitAli164 Sep 6, 2024
236f4d7
ShoeProject work on headerSection
BasitAli164 Sep 6, 2024
9167256
Add footer in Shoes Project
BasitAli164 Sep 6, 2024
fba9906
added basic user schema
NetbotsDotTech Sep 9, 2024
043adbf
Added
NetbotsDotTech Sep 9, 2024
9bb3e06
connected with data base
BasitAli164 Sep 9, 2024
cda0f8a
added register controller
NetbotsDotTech Sep 10, 2024
d218c35
updated the register endpoint
NetbotsDotTech Sep 11, 2024
a697201
adde login enpoint
NetbotsDotTech Sep 12, 2024
fb7fae9
controller,router,models
BasitAli164 Sep 12, 2024
8f1f199
some thing done
BasitAli164 Sep 12, 2024
92b41ed
updata myBackend with login controller
BasitAli164 Sep 13, 2024
d6bb485
work on frontend project
BasitAli164 Sep 14, 2024
705075b
almost complete the home page of the project
BasitAli164 Sep 14, 2024
0ba9b15
added
NetbotsDotTech Sep 16, 2024
cd05563
added
NetbotsDotTech Sep 16, 2024
6e6f3bf
add new components in project
BasitAli164 Sep 17, 2024
398bcce
setup product endpoint skeletn
NetbotsDotTech Sep 18, 2024
692e7d4
make the product crud operation and work with project
BasitAli164 Sep 23, 2024
d1b5541
work with frontend
BasitAli164 Sep 30, 2024
d6852c9
proceed shoes project
BasitAli164 Oct 2, 2024
fd297c8
further changes in shopping project
BasitAli164 Oct 4, 2024
d0fe579
add more componenet in Selfbase project
BasitAli164 Oct 6, 2024
2c82b68
make the checkout component
BasitAli164 Oct 10, 2024
056c815
almost complete project
BasitAli164 Oct 13, 2024
b049343
added product controllers
NetbotsDotTech Oct 14, 2024
2bac2c4
multer process done
BasitAli164 Oct 16, 2024
22e8409
make purchase part in backend and complete the frontend
BasitAli164 Oct 23, 2024
9923fbb
make the wishList controller and its router
BasitAli164 Oct 23, 2024
a3a8aba
make userProfile
BasitAli164 Oct 24, 2024
65ac9fc
almost complete frontend
BasitAli164 Oct 30, 2024
f63f171
integrate with frontend and backend and fetch data from database
BasitAli164 Oct 31, 2024
ba41cf2
hit the end point of the purcharse product and alos make the dashboard
BasitAli164 Nov 5, 2024
7b50563
query and another things are complete
BasitAli164 Nov 9, 2024
fa68c92
update the frontend and backend code
BasitAli164 Nov 12, 2024
dd19693
now i dynamically sent email to my gmail account through emailjs
BasitAli164 Nov 12, 2024
ce6e44e
now almost finist frontend with integration
BasitAli164 Nov 12, 2024
cdd3d6a
start work with dashboard
BasitAli164 Nov 13, 2024
c04d5aa
work on admin dashboard
BasitAli164 Nov 14, 2024
03e4f71
add product component in dashboard
BasitAli164 Nov 14, 2024
608d2bc
make a snooker project for jamal
BasitAli164 Nov 15, 2024
7ebd4a6
add about us page in snooker club
BasitAli164 Nov 15, 2024
0b8ffbb
modify the about page
BasitAli164 Nov 15, 2024
a89fc4b
working on the dashboard product
BasitAli164 Nov 16, 2024
f569201
now start to integrate the dashboard with backend
BasitAli164 Nov 16, 2024
07218eb
fetch data properly from the db in dashboard
BasitAli164 Nov 16, 2024
8e00272
almost done the productPage from the dashboard
BasitAli164 Nov 16, 2024
d0b0df4
break down the code into sub component of the productPage
BasitAli164 Nov 16, 2024
d39a3db
modify the productDailog and add new required field in there
BasitAli164 Nov 16, 2024
5b64b83
try to resolve the file uplaod problem
BasitAli164 Nov 16, 2024
2186277
product page is totally failed
BasitAli164 Nov 17, 2024
f148102
again working on the product page of the dashboard
BasitAli164 Nov 17, 2024
e974cce
I am facing the error on populate the subcategory
BasitAli164 Nov 17, 2024
0774565
add component is now fully worked in dashboard
BasitAli164 Nov 18, 2024
7ef1189
facing error
BasitAli164 Nov 18, 2024
6c9cada
now finally solve the issue and add new product from dashboard and se…
BasitAli164 Nov 19, 2024
161423e
clear the error in service and proudcutDetail component
BasitAli164 Nov 19, 2024
581124b
almost finished the snooker project
BasitAli164 Nov 19, 2024
6875016
almost finished mrs jamal project
BasitAli164 Nov 19, 2024
6f78d26
add other member picture in jpc website
BasitAli164 Nov 19, 2024
0f727b6
second last commit for jpc website of jamal
BasitAli164 Nov 19, 2024
bdced2d
finaaly display the image on dashboard and frontend from dashboard
BasitAli164 Nov 20, 2024
cbf3f40
finally i achieve the image from backend to frontend
BasitAli164 Nov 20, 2024
adb9064
add product and now working on the edit function in dashboard
BasitAli164 Nov 21, 2024
0ed0419
Dealing with the update part of the dashboard
BasitAli164 Nov 21, 2024
29bfc97
modify the product controller for update
BasitAli164 Nov 24, 2024
766d33e
finaly i get the image of custmer from backend
BasitAli164 Nov 26, 2024
1a0c662
now complete the userDash board
BasitAli164 Nov 26, 2024
0adb5d8
change the user name with customer and alos modify the update dialoge…
BasitAli164 Nov 27, 2024
8b14e90
something change in customer controller
BasitAli164 Nov 27, 2024
52ad963
working in product controller
BasitAli164 Nov 27, 2024
bd31767
change the logo and title in dashboard project
BasitAli164 Nov 28, 2024
bdff0ec
modify the update dialog and product update controller
BasitAli164 Nov 28, 2024
d030075
finally the frontend code means the update dialog show all data perf…
BasitAli164 Nov 28, 2024
cc22b98
failed to resovle the update controller
BasitAli164 Nov 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
24 changes: 24 additions & 0 deletions DashBoard/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
24 changes: 24 additions & 0 deletions DashBoard/DashBoard/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
8 changes: 8 additions & 0 deletions DashBoard/DashBoard/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
38 changes: 38 additions & 0 deletions DashBoard/DashBoard/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{ ignores: ['dist'] },
{
files: ['**/*.{js,jsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
settings: { react: { version: '18.3' } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
13 changes: 13 additions & 0 deletions DashBoard/DashBoard/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
28 changes: 28 additions & 0 deletions DashBoard/DashBoard/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "dashboard",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"vite": "^5.4.10"
}
}
1 change: 1 addition & 0 deletions DashBoard/DashBoard/public/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions DashBoard/DashBoard/src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}

.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}

.card {
padding: 2em;
}

.read-the-docs {
color: #888;
}
35 changes: 35 additions & 0 deletions DashBoard/DashBoard/src/App.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'

function App() {
const [count, setCount] = useState(0)

return (
<>
<div>
<a href="https://vite.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
</div>
<h1>Vite + React</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.jsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</>
)
}

export default App
1 change: 1 addition & 0 deletions DashBoard/DashBoard/src/assets/react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions DashBoard/DashBoard/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}

body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}

h1 {
font-size: 3.2em;
line-height: 1.1;
}

button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
10 changes: 10 additions & 0 deletions DashBoard/DashBoard/src/main.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'

createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>,
)
7 changes: 7 additions & 0 deletions DashBoard/DashBoard/vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
})
10 changes: 10 additions & 0 deletions DashBoard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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

The purpose of this project is to understand the concept of propsdrilling
38 changes: 38 additions & 0 deletions DashBoard/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{
files: ['**/*.{js,jsx}'],
ignores: ['dist'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
settings: { react: { version: '18.3' } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
13 changes: 13 additions & 0 deletions DashBoard/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
13 changes: 13 additions & 0 deletions DashBoard/node_modules/@mui/icons-material/Forward5Sharp.js

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.

Loading