Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c0f14bc
day 01
GaneshArumugam05 Dec 10, 2025
3c1f2c8
re usable components
GaneshArumugam05 Dec 10, 2025
dac45a4
missing file added
GaneshArumugam05 Dec 10, 2025
06fcef1
Merge pull request #1 from PTHARRISH/source-folder
PTHARRISH Dec 10, 2025
3c9304b
today front end part work with protected route
GaneshArumugam05 Dec 11, 2025
3921d8e
backend database code
GaneshArumugam05 Dec 12, 2025
2f25eb5
cart context
GaneshArumugam05 Dec 12, 2025
1444d81
main.jsx
GaneshArumugam05 Dec 12, 2025
75d653d
cart context
GaneshArumugam05 Dec 12, 2025
dc8095e
products data
GaneshArumugam05 Dec 12, 2025
9b4ec1a
update App jsx
GaneshArumugam05 Dec 12, 2025
58ac115
create cart jsx
GaneshArumugam05 Dec 12, 2025
cb1dd5a
update landing page
GaneshArumugam05 Dec 12, 2025
ce89c1f
updated product detrails
GaneshArumugam05 Dec 12, 2025
98a7db6
update product page
GaneshArumugam05 Dec 12, 2025
f910338
updated navbar
GaneshArumugam05 Dec 12, 2025
78dbeca
update App.jsx
GaneshArumugam05 Dec 13, 2025
636ce62
About.jsx comp
GaneshArumugam05 Dec 13, 2025
8c536d2
create Contact.jsx
GaneshArumugam05 Dec 13, 2025
ac29b55
updated product page
GaneshArumugam05 Dec 13, 2025
1b14cc9
update Footer
GaneshArumugam05 Dec 13, 2025
7946c03
update navbar
GaneshArumugam05 Dec 13, 2025
76ff880
api integration
GaneshArumugam05 Dec 15, 2025
27a846c
Merge pull request #3 from PTHARRISH/frontend-src2
PTHARRISH Dec 15, 2025
6fa14c9
Login and Register
GaneshArumugam05 Dec 27, 2025
b2b9005
Merge pull request #4 from PTHARRISH/frontend-src2
PTHARRISH Dec 29, 2025
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
24 changes: 24 additions & 0 deletions frontend/.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?
16 changes: 16 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

## Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
29 changes: 29 additions & 0 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import { defineConfig, globalIgnores } from 'eslint/config'

export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{js,jsx}'],
extends: [
js.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
},
},
])
13 changes: 13 additions & 0 deletions frontend/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>frontend</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading