Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite ecommerce sample app #2687

Merged
merged 41 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
53f910d
feat(ecommerce): initial commit for the vite ecommerce app
svdimitr Oct 22, 2024
b0a0eb2
add Header and Footer, add alias for imports
filipKovachev Oct 28, 2024
248f2eb
add a tags and spacings for the footer
filipKovachev Oct 28, 2024
c0f6d92
chore(components): add two components
svdimitr Oct 29, 2024
a7e5b62
add the pages folder
svdimitr Oct 29, 2024
fa67032
add pages
svdimitr Oct 30, 2024
756bbc2
iteration over the design
svdimitr Nov 1, 2024
7710a44
add routing
filipKovachev Nov 3, 2024
4e72103
add images
svdimitr Nov 4, 2024
11ea905
polish components
svdimitr Nov 4, 2024
9431821
add filter
svdimitr Nov 6, 2024
f4a6a53
extract cardlist component
svdimitr Nov 6, 2024
6d3f044
remove outdated imports
svdimitr Nov 6, 2024
acef7cd
add detailed cat page
svdimitr Nov 7, 2024
b6adcc0
polish pages, extract types
svdimitr Nov 7, 2024
f2dafa4
add the productCard compo
svdimitr Nov 7, 2024
e7f2239
develop the app
svdimitr Nov 7, 2024
2c57c41
complete the home page
svdimitr Nov 8, 2024
91e6f48
add shopping cart
svdimitr Nov 11, 2024
fb9fddb
add payment details
filipKovachev Nov 12, 2024
6afdd1b
add button
filipKovachev Nov 12, 2024
bbcf1e7
add Thank you page
filipKovachev Nov 12, 2024
d0c1623
shopping cart
svdimitr Nov 12, 2024
490c8b0
link navigation
svdimitr Nov 12, 2024
6329826
add primary btns
svdimitr Nov 12, 2024
08c2cb2
polish shopping cart
svdimitr Nov 12, 2024
db61825
polish shopping cart
svdimitr Nov 12, 2024
9f30686
final polish:
svdimitr Nov 12, 2024
f89b19c
fix build errors
svdimitr Nov 13, 2024
fcfba30
fix build errors
svdimitr Nov 13, 2024
aac6800
removecolor palette button
svdimitr Nov 13, 2024
2ab47f8
add admin switching, item display logic, polish UI
filipKovachev Nov 14, 2024
c28b045
fix sampleDataItem
filipKovachev Nov 14, 2024
080e5a5
fixing build issues and feedback
svdimitr Nov 14, 2024
367aea6
remove errors
svdimitr Nov 14, 2024
8dcc4ee
delete a package lock file
svdimitr Nov 14, 2024
38d78b6
fix build errors
svdimitr Nov 14, 2024
983b16a
fix build errors
svdimitr Nov 14, 2024
d0ff53e
bump components and theme versions, fix build errors
filipKovachev Nov 14, 2024
7954384
build errors
svdimitr Nov 15, 2024
498cc97
Update README.md
filipKovachev Nov 15, 2024
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 examples/ecommerce-jewellery-store/.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?
40 changes: 40 additions & 0 deletions examples/ecommerce-jewellery-store/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## The following KendoReact components are used in the sample application:

- [Data Grid](https://www.telerik.com/kendo-react-ui/components/grid/)

- [Chart](https://www.telerik.com/kendo-react-ui/components/chart/)

- [ChartWizard](https://www.telerik.com/kendo-react-ui/components/chart-wizard)

- [DropdownList](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist)

- [Input](https://www.telerik.com/kendo-react-ui/components/inputs/input)

- [MaskedTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox)

- [Appbar](https://www.telerik.com/kendo-react-ui/components/layout/appbar)

- [Button](https://www.telerik.com/kendo-react-ui/components/buttons/button)

- [Form](https://www.telerik.com/kendo-react-ui/components/form)

## Prerequisites

- Node.js [18.17](https://nodejs.org/en) or later.
- macOS, Windows (including WSL), and Linux are supported.

## Installation

Run `npm install`

## Available Scripts
In the project directory, you can run:

### `npm run build`
Build the application for production usage.

### `npm run dev`
Start a Vite production server.

### `npm run lint`
Check for linting errors.
28 changes: 28 additions & 0 deletions examples/ecommerce-jewellery-store/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
22 changes: 22 additions & 0 deletions examples/ecommerce-jewellery-store/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ecommerce Jewellery Store</title>

</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
Loading
Loading