Skip to content
Snippets Groups Projects
Commit cc65110b authored by Marthak, Harsh Nilesh (PG/T - Comp Sci & Elec Eng)'s avatar Marthak, Harsh Nilesh (PG/T - Comp Sci & Elec Eng)
Browse files

initial code and structure

parent e6017d8d
No related branches found
No related tags found
1 merge request!10initial code for frontend and structure
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/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
# 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?
# E-commerce Add to cart page
https://e-commerce-cart-page.netlify.app/
## Description
This project is an E-commerce Add to Cart page implemented using React.js. It consists of reusable components designed following React principles.
## Installation
To run the project locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/karanjas39/E-commerce-cart-page.git
```
2. Navigate to the project directory::
```bash
cd E-commerce-cart-page
```
3. Install dependencies:
```bash
npm install
```
4. Start the development server:
```bash
npm run dev
```
5. Open your browser and visit http://localhost:3000 to view the project.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shopify - Cart</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment